summaryrefslogtreecommitdiffstats
path: root/test/integration/admin_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-24 10:11:52 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-24 10:11:52 +0000
commita16d2c2b2d257b244d381714c300a063299b2802 (patch)
tree3342cc5b7df0cff2435d5500d816684476a77192 /test/integration/admin_test.rb
parentdd431af59723e32f63d31e1ee109322a87102419 (diff)
downloadredmine-a16d2c2b2d257b244d381714c300a063299b2802.tar.gz
redmine-a16d2c2b2d257b244d381714c300a063299b2802.zip
code layout clean up of "Add a user as an anonymous user should fail" at test/integration/admin_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7495 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/admin_test.rb')
-rw-r--r--test/integration/admin_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/integration/admin_test.rb b/test/integration/admin_test.rb
index bc49ca2aa..570cbe6fc 100644
--- a/test/integration/admin_test.rb
+++ b/test/integration/admin_test.rb
@@ -53,7 +53,9 @@ class AdminTest < ActionController::IntegrationTest
end
test "Add a user as an anonymous user should fail" do
- post '/users/create', :user => { :login => 'psmith', :firstname => 'Paul'}, :password => "psmith09", :password_confirmation => "psmith09"
+ post '/users/create',
+ :user => { :login => 'psmith', :firstname => 'Paul'},
+ :password => "psmith09", :password_confirmation => "psmith09"
assert_response :redirect
assert_redirected_to "/login?back_url=http%3A%2F%2Fwww.example.com%2Fusers"
end