Skip to content

Commit

Permalink
fix array order test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren authored Dec 8, 2020
1 parent 3fa16d9 commit 4597d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/tag_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ def setup
get :suggested, params: { id: 'spectr' }

assert_equal 4, assigns(:suggestions).length
assert_equal ['question:spectrometer', 'spectrometer', 'activity:spectrometer', 'activities:spectrometer'], JSON.parse(response.body)
assert_equal ['question:spectrometer', 'spectrometer', 'activity:spectrometer', 'activities:spectrometer'].sort, JSON.parse(response.body).sort
end

test 'should choose I18n for tag controller' do
Expand Down

0 comments on commit 4597d75

Please sign in to comment.