]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up of "Add a user as an anonymous user should fail" at test/integra...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 24 Sep 2011 10:11:52 +0000 (10:11 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 24 Sep 2011 10:11:52 +0000 (10:11 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7495 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/admin_test.rb

index bc49ca2aa614feff387038f78bfa51e5b3075e59..570cbe6fca79da30ea14d2c16d3b780ad5d95687 100644 (file)
@@ -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