Skip to content

Commit

Permalink
fixed UsersController tests
Browse files Browse the repository at this point in the history
updated create_user to include a :name attribute as required by validations
  • Loading branch information
Jaime Bellmyer committed Dec 11, 2009
1 parent f1799f4 commit 9f12964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/users_controller_test.rb
Expand Up @@ -82,7 +82,7 @@ def test_should_not_activate_user_with_blank_key

protected
def create_user(options = {})
post :create, :user => { :login => 'quire', :email => 'quire@example.com',
post :create, :user => { :login => 'quire', :name => 'quire', :email => 'quire@example.com',
:password => 'quire69', :password_confirmation => 'quire69' }.merge(options)
end
end

0 comments on commit 9f12964

Please sign in to comment.