]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up of test/unit/user_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 7 Oct 2011 04:16:03 +0000 (04:16 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 7 Oct 2011 04:16:03 +0000 (04:16 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7592 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/user_test.rb

index 548fdaf6ea41e3a4de72c3b8580be7314085dc9d..132ddb5b2989e0e8be8205e7a50b46f7b4ce81b5 100644 (file)
@@ -355,7 +355,9 @@ class UserTest < ActiveSupport::TestCase
     end
 
     should "select the exact matching user first" do
-      case_sensitive_user = User.generate_with_protected!(:login => 'changed', :password => 'admin', :password_confirmation => 'admin')
+      case_sensitive_user = User.generate_with_protected!(
+                                   :login => 'changed', :password => 'admin',
+                                   :password_confirmation => 'admin')
       # bypass validations to make it appear like existing data
       case_sensitive_user.update_attribute(:login, 'ADMIN')