Skip to content

Commit

Permalink
Update csv_header_validator_test.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ewlarson committed Jan 16, 2025
1 parent fbc2f81 commit d9571a1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ def test_valid_csv_headers
def test_invalid_csv_headers
csv_content = "friendlier_id,field_name\n"
file_mock = Minitest::Mock.new
file_mock.expect :download, StringIO.new(csv_content)
file_mock.expect :download, StringIO.new(csv_content), []
file_mock.expect :download, StringIO.new(csv_content), []
file_mock.expect :nil?, false
@record.csv_file = file_mock

Expand Down

0 comments on commit d9571a1

Please sign in to comment.