search for: test_defaults_to_disabled

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

2009 Nov 20
3
Proper usage of identify(label)
I was reading this page: http://api.rubyonrails.org/classes/Fixtures.html#M000326 and was trying to get hashed labels working. However, calling it from within a unit test results in this error: def test_defaults_to_disabled identify(''one'') end 2) Error: test_defaults_to_disabled(AdminTest): NoMethodError: undefined method `identify'' for #<AdminTest:0x7f9f493e5248> /test/unit/admin_test.rb:45:in `test_defaults_to_disabled'' So, how is one supposed to properl...