You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested with ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0]. The rspec tests failed whilst passed with ruby 1.8.7.
@@@
$ rake spec
FF.........
Failures:
Admin::UsersController#generate_api_key should generate a 20 char SHA key
Failure/Error: put :generate_api_key, {:id => 1}
Mock "User_1002" received unexpected message :to_ary with (no args)
./spec/controllers/admin/users_controller_spec.rb:15:in`block (3 levels) in <top (required)>'
Admin::UsersController#clear_api_key should remove the existing api_key
Failure/Error: put :clear_api_key, {:id => 1}
Mock "User_1004" received unexpected message :to_ary with (no args)
Imported from lighthouse. Original ticket at: http://railsdog.lighthouseapp.com/projects/31096/tickets/1883 - Created by Trung Lê -
Thu Mar 24 01:04:40 UTC 2011
Tested with ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0]. The rspec tests failed whilst passed with ruby 1.8.7.
@@@
$ rake spec
FF.........
Failures:
Admin::UsersController#generate_api_key should generate a 20 char SHA key
Failure/Error: put :generate_api_key, {:id => 1}
Mock "User_1002" received unexpected message :to_ary with (no args)
./app/controllers/admin/users_controller_decorator.rb:9:in `generate_api_key'
./spec/controllers/admin/users_controller_spec.rb:15:in`block (3 levels) in <top (required)>'
Admin::UsersController#clear_api_key should remove the existing api_key
Failure/Error: put :clear_api_key, {:id => 1}
Mock "User_1004" received unexpected message :to_ary with (no args)
./app/controllers/admin/users_controller_decorator.rb:16:in `clear_api_key'
./spec/controllers/admin/users_controller_spec.rb:23:in`block (3 levels) in <top (required)>'
Finished in 0.74563 seconds
11 examples, 2 failures
@@@
The text was updated successfully, but these errors were encountered: