Commit 7cef4608bb9bcb481d1fb14e1680f70beb299437

Authored by Rodrigo Souto
1 parent d144ac9c

[postgres-tests] Fixing search controller tests

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
test/functional/search_controller_test.rb
... ... @@ -608,11 +608,11 @@ class SearchControllerTest < ActionController::TestCase
608 608  
609 609 get :tag, :tag => 'two'
610 610  
611   - assert_equal [a, a2], assigns(:searches)[:tag][:results]
  611 + assert_equivalent [a, a2], assigns(:searches)[:tag][:results]
612 612  
613 613 get :tag, :tag => 'one'
614 614  
615   - assert_equal [a], assigns(:searches)[:tag][:results]
  615 + assert_equivalent [a], assigns(:searches)[:tag][:results]
616 616 end
617 617  
618 618 should 'not show assets from other environments' do
... ...