On Aug 13, 6:45 pm, JoshLucas <[email protected]> wrote:
> I am trying to do the first lab exercise for this and when I try to
> run the test I get this
>
> C:/Program Files/NetBeans 6.7/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/
> actionpack-2.3.2/lib/action_controller/middleware_stack.rb:84 warning:
> given block not used
> ./test/test_helper.rb:22: undefined local variable or method
> `use_transactional_fixtures=' for Test::Unit::TestCase:Class
> (NameError)
>
> Something about "use_transactional_fixtures" not being defined. How do
> I resolve this issue?
Just replace the class by:
class ActiveSupport::TestCase
because there has been a change in ruby 2.3 from TestUnit to
ActiveSupport.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
ruby-on-rails-programming-with-passion-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---