summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/user_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index 548fdaf6e..132ddb5b2 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -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')