From: Toshi MARUYAMA Date: Sat, 24 Sep 2011 10:11:52 +0000 (+0000) Subject: code layout clean up of "Add a user as an anonymous user should fail" at test/integra... X-Git-Tag: 1.3.0~480 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a16d2c2b2d257b244d381714c300a063299b2802;p=redmine.git 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 --- 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