Folks,
I checked my test_helper.rb and it has
self.use_transactional_fixtures = true
My code was generated with 1.1.2 and I’m using 1.1.3 right now after
but the error persists.
I googled for this issue and it appears that a require is missing or
something like that. I can’t figure it out, please help!
/opt/local/bin/ruby -Ilib:test “/opt/local/lib/ruby/gems/1.8/gems/
rake-0.7.1/lib/rake/rake_test_loader.rb” “test/functional/
admin_controller_test.rb” “test/functional/error_controller_test.rb”
“test/functional/poll_controller_test.rb” “test/functional/
user_controller_test.rb”
./test/functional/…/test_helper.rb:18: undefined method
`use_transactional_fixtures=’ for Test::Unit::TestCase:Class
(NoMethodError)
from ./test/functional/admin_controller_test.rb:1
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/
rake_test_loader.rb:5
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/
rake_test_loader.rb:5
rake aborted!
Command failed with status (1): [/opt/local/bin/ruby -Ilib:test "/opt/
local…]