Displaying 1 result from an estimated 1 matches for "albums_spec".
2012 Feb 16
0
Upgrading from 3.2.0 to 3.2.1: Wrong Number of Arguments
...uld eq 2
end
But fails in 3.2.1 with:
1) Albums destroys an album
Failure/Error: login_admin
ArgumentError:
wrong number of arguments (0 for 1)
# ./app/controllers/sessions_controller.rb:8:in `create''
# (eval):2:in `click_button''
# ./spec/requests/albums_spec.rb:7:in `block (2 levels) in <top
(required)>''
Line 8 in sessions_controller is:
user = User.find_by_email(params[:email])
What''s going on here? Here''s the diff in the Gemfile.lock after making
the upgrade:
- actionmailer (3.2.0)
- actionpack (= 3.2.0)...