Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Jan 18, 2025
1 parent 5196aa2 commit d4b8d3a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/controllers/api/v1/judgements_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ class JudgementsControllerTest < ActionController::TestCase

assert_response :ok
csv = CSV.parse(response.body, headers: true)
assert_equal 'Best Bond Ever', csv[0]['query']
assert_equal 'GeorgeLazenby', csv[0]['docid']
assert_equal '3.0', csv[3]['Doug Turnbull']
assert_equal 'Action Movies', csv[0]['query']
assert_equal 'Moonraker', csv[0]['docid']

assert_nil csv[3]['Doug Turnbull']

assert_not_includes csv.headers, 'Unknown'
end
Expand Down

0 comments on commit d4b8d3a

Please sign in to comment.