With a normal test_helper, everything works just fine. However, if I change
test_helper.rb to include test/rails and the class from Test::Unit::TestCase
to Test::Rails::TestCase, I get this:
./test/functional/../test_helper.rb:19: undefined method
`use_transactional_fixtures='' for Test::Rails::TestCase:Class
(NoMethodError)
from ./test/functional/contact_controller_test.rb:1
from
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5
from
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5
I understand that this can be the result of a missing gem, so I wrote a
quick program to find unique required files outside of vendor/rails and
couldn''t find a missing gem.
Does anyone have any insight into this?
--
View this message in context:
http://www.nabble.com/use_transactional_fixtures%3D-and-Test%3A%3ARails-tf2575035.html#a7178393
Sent from the RubyOnRails Users mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---