]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up of test_add_user at test/integration/admin_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 24 Sep 2011 10:11:26 +0000 (10:11 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 24 Sep 2011 10:11:26 +0000 (10:11 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7494 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/admin_test.rb

index 3955303ff8784f32cbd4f8a6ca90047dc5c9b52e..bc49ca2aa614feff387038f78bfa51e5b3075e59 100644 (file)
@@ -32,7 +32,11 @@ 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