diff --git a/test/unit/profile_test.rb b/test/unit/profile_test.rb index bf97b5b..aa56a53 100644 --- a/test/unit/profile_test.rb +++ b/test/unit/profile_test.rb @@ -345,7 +345,7 @@ class ProfileTest < ActiveSupport::TestCase t2 = c.tasks.build t2.save! - assert_equal [t1, t2], c.tasks + assert_equivalent [t1, t2], c.tasks end should 'have pending tasks' do @@ -354,7 +354,7 @@ class ProfileTest < ActiveSupport::TestCase t2 = c.tasks.build; t2.save!; t2.finish t3 = c.tasks.build; t3.save! - assert_equal [t1, t3], c.tasks.pending + assert_equivalent [t1, t3], c.tasks.pending end should 'have finished tasks' do @@ -1239,7 +1239,7 @@ class ProfileTest < ActiveSupport::TestCase Person.any_instance.stubs(:is_admin?).returns(true) - assert_equal [task1, task2], Task.to(person).pending + assert_equivalent [task1, task2], Task.to(person).pending end should 'find task by id on all environments' do -- libgit2 0.21.2