diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-24 10:11:52 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-24 10:11:52 +0000 |
commit | a16d2c2b2d257b244d381714c300a063299b2802 (patch) | |
tree | 3342cc5b7df0cff2435d5500d816684476a77192 /test/integration/admin_test.rb | |
parent | dd431af59723e32f63d31e1ee109322a87102419 (diff) | |
download | redmine-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.rb | 4 |
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 |