summaryrefslogtreecommitdiffstats
path: root/test/unit/mail_handler_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-30 14:31:53 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-30 14:31:53 +0000
commitf04148695a4a2de305945b00433aa1462d5c901c (patch)
tree7825bbb4f40e1b5d24bcd84d478fa70d7bb9f22d /test/unit/mail_handler_test.rb
parent372b24627b70d43402d7e54dfb370bcdfe0ec8ba (diff)
downloadredmine-f04148695a4a2de305945b00433aa1462d5c901c.tar.gz
redmine-f04148695a4a2de305945b00433aa1462d5c901c.zip
Drop shoulda.
git-svn-id: http://svn.redmine.org/redmine/trunk@13676 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/mail_handler_test.rb')
-rw-r--r--test/unit/mail_handler_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb
index d774eeedd..d18da5fab 100644
--- a/test/unit/mail_handler_test.rb
+++ b/test/unit/mail_handler_test.rb
@@ -328,7 +328,7 @@ class MailHandlerTest < ActiveSupport::TestCase
)
end
user = User.order('id DESC').first
- assert_same_elements [group1, group2], user.groups
+ assert_equal [group1, group2].sort, user.groups.sort
end
def test_created_user_should_not_receive_account_information_with_no_account_info_option