search for: venuescontrollertest

Displaying 1 result from an estimated 1 matches for "venuescontrollertest".

2010 Feb 19
2
Problem with assert_redirected_to
I have taken over some old Rails code and am trying to get the tests to run. In the functional test every time the assertion ''assert_redirected_to'' is called I get the following error: test_should_update_venue(VenuesControllerTest): NoMethodError: undefined method `[]'' for #<Enumerable::Enumerator:0x102f747e0> /blah/blah/blah/project/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/string/access.rb:43:in `first'' /blah/blah/blah/project/vendor/rails/actionpack/lib/actio...