Displaying 1 result from an estimated 1 matches for "binscontrollertest".
2009 Apr 21
2
validates_uniqueness_of
...sponse :redirect
assert_redirected_to :action => ''list''
assert_equal num_bins + 1, Bin.count
rescue exception: NoMethodError
assert_response :error
flash[:notice]="Cycle name not unique."
end
end
1) Error:
test_create_failure_cycle_unique(BinsControllerTest):
NameError: undefined local variable or method `exception'' for
#<BinsControllerTest:0x48077e0>
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/test_process.rb:471:in
`method_missing''
bins_controller_test.rb:119:in `test_create_failure_cycle_uni...