diff --git a/test/integration/admin_test.rb b/test/integration/admin_test.rb index 1600f89b..af44d522 100644 --- a/test/integration/admin_test.rb +++ b/test/integration/admin_test.rb @@ -25,7 +25,7 @@ class AdminTest < ActionController::IntegrationTest get "/users/new" assert_response :success assert_template "users/new" - post "/users/create", :user => { :login => "psmith", :firstname => "Paul", :lastname => "Smith", :mail => "psmith@somenet.foo", :language => "en" }, :password => "psmith09", :password_confirmation => "psmith09" + post "/users/create", :user => { :login => "psmith", :firstname => "Paul", :lastname => "Smith", :mail => "psmith@somenet.foo", :language => "en", :password => "psmith09", :password_confirmation => "psmith09" } user = User.find_by_login("psmith") assert_kind_of User, user