Groups
Sign in
Groups
Ruby on Rails: Talk
Conversations
About
Send feedback
Help
undefined method `fixtures'
69 views
Skip to first unread message
Jeff Schwab
unread,
Mar 18, 2009, 4:50:01 PM
3/18/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
I've just installed restful_authentication, and generated:
script/generate authenticated user session
Now, if I try to run unit tests, I get the following error:
test/unit/user_test.rb:7:in `<class:UserTest>': undefined method
`fixtures' for UserTest:Class (NoMethodError)
Any help would be welcome.
Frederick Cheung
unread,
Mar 18, 2009, 6:05:33 PM
3/18/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
what does that file look like ?
Fred
Jeff Schwab
unread,
Mar 18, 2009, 6:48:55 PM
3/18/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
On Mar 18, 6:05 pm, Frederick Cheung <
frederick.che...@gmail.com
>
wrote:
It's the default test case generated by restful_authentication.
Several other methods were missing, as well. The test class seems to
use the wrong base class for some reason; I've just worked around it
locally, and filed a ticket:
http://rails_security.lighthouseapp.com/projects/15332/tickets/44-undefined-method-fixtures
Thanks, though!
Reply all
Reply to author
Forward
0 new messages