I just read a blog that said to delete any files in the test/fixtures
and it should be solved. I did that and received 4 less errors but now
telling me this:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
zelop...@angel:~/rainspore.com/current$ rake RAILS_ENV=production
(in /home/zelopast/rainspore.com/releases/20090423074909)
/usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/
lib/rake/rake_test_loader.rb" "test/functional/
home_controller_test.rb" "test/functional/
contacts_controller_test.rb"
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/
rake_test_loader
Started
.EE..EE.
Finished in 0.853373 seconds.
1) Error:
test_should_destroy_contact(ContactsControllerTest):
NoMethodError: undefined method `contacts' for
#<ContactsControllerTest:0x2ac1b7cd5a70>
/test/functional/contacts_controller_test.rb:40:in
`test_should_destroy_contact'
/test/functional/contacts_controller_test.rb:39:in
`test_should_destroy_contact'
2) Error:
test_should_get_edit(ContactsControllerTest):
NoMethodError: undefined method `contacts' for
#<ContactsControllerTest:0x2ac1b7cd5430>
/test/functional/contacts_controller_test.rb:29:in
`test_should_get_edit'
3) Error:
test_should_show_contact(ContactsControllerTest):
NoMethodError: undefined method `contacts' for
#<ContactsControllerTest:0x2ac1b7cd4698>
/test/functional/contacts_controller_test.rb:24:in
`test_should_show_contact'
4) Error:
test_should_update_contact(ContactsControllerTest):
NoMethodError: undefined method `contacts' for
#<ContactsControllerTest:0x2ac1b7cd4378>
/test/functional/contacts_controller_test.rb:34:in
`test_should_update_contact'
8 tests, 6 assertions, 0 failures, 4 errors
/usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/
lib/rake/rake_test_loader.rb"
Errors running test:units and test:functionals!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---