Skip to content

Commit 4eea64d

Browse files
committed
remove trailing white-spaces from test/unit/user_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12224 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent 3172359 commit 4eea64d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/unit/user_test.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -476,19 +476,19 @@ def test_fields_for_order_statement_should_return_fields_according_user_format_s
476476
assert_equal ['users.lastname', 'users.firstname', 'users.id'], User.fields_for_order_statement
477477
end
478478
end
479-
479+
480480
def test_fields_for_order_statement_width_table_name_should_prepend_table_name
481481
with_settings :user_format => 'lastname_firstname' do
482482
assert_equal ['authors.lastname', 'authors.firstname', 'authors.id'], User.fields_for_order_statement('authors')
483483
end
484484
end
485-
485+
486486
def test_fields_for_order_statement_with_blank_format_should_return_default
487487
with_settings :user_format => '' do
488488
assert_equal ['users.firstname', 'users.lastname', 'users.id'], User.fields_for_order_statement
489489
end
490490
end
491-
491+
492492
def test_fields_for_order_statement_with_invalid_format_should_return_default
493493
with_settings :user_format => 'foo' do
494494
assert_equal ['users.firstname', 'users.lastname', 'users.id'], User.fields_for_order_statement
@@ -614,7 +614,7 @@ def test_try_to_login_with_locked_user_and_not_active_only_should_return_user
614614
@auth_source.account_password = ''
615615
@auth_source.save!
616616
end
617-
617+
618618
context "with a successful authentication" do
619619
should "create a new user account if it doesn't exist" do
620620
assert_difference('User.count') do
@@ -623,7 +623,7 @@ def test_try_to_login_with_locked_user_and_not_active_only_should_return_user
623623
end
624624
end
625625
end
626-
626+
627627
context "with an unsuccessful authentication" do
628628
should "return nil" do
629629
assert_nil User.try_to_login('example1', '11111')

0 commit comments

Comments
 (0)