summaryrefslogtreecommitdiffstats
path: root/test/integration/admin_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-24 10:11:26 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-24 10:11:26 +0000
commitdd431af59723e32f63d31e1ee109322a87102419 (patch)
treeca06079997265c6ca196f07c4a8952b19c82a37c /test/integration/admin_test.rb
parentbed3e724da84ec413a5d16a678cf7174de577073 (diff)
downloadredmine-dd431af59723e32f63d31e1ee109322a87102419.tar.gz
redmine-dd431af59723e32f63d31e1ee109322a87102419.zip
code layout clean up of test_add_user at test/integration/admin_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7494 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/admin_test.rb')
-rw-r--r--test/integration/admin_test.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/integration/admin_test.rb b/test/integration/admin_test.rb
index 3955303ff..bc49ca2aa 100644
--- a/test/integration/admin_test.rb
+++ b/test/integration/admin_test.rb
@@ -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