On Oct 27, 10:33 am, Vahagn Hayrapetyan <[EMAIL PROTECTED]
s.net> wrote:
> Hello all,-
>
> wondering if you can help me with a weird testing problem. I have a
> Newsletter model that has been developed and tested in a previous
> version (older branch) of my current project. Under that old project,
> all tests run perfectly with no failures. Moreover, in the current
> project Newsletter behaves perfectly with manual tests - ie creating,
> deleting, editing newsletters by hand.
>
> When I run rake test:functionals however, the tests don't do what they
> are supposed to. Here's a method from NewslettersControllerTest:

Have you tried looking a little closer at why its failing ? Eg stick a
breakpoint in the action and see what happens. If the action doesn't
run at all because of some filter (eg authentication  - are you sure
your login_as method works ?) then there will be a note in test.log

Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to