Skip to content

Commit 84c42e3

Browse files
author
Amir Tocker
committed
Fix archive test to use include instead of match_array.
Prevent test failure when new parameters are added to the results set.
1 parent 01e4082 commit 84c42e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/archive_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
file_count
9393
)
9494
it "should include keys: #{expected_keys.join(', ')}" do
95-
expect(archive_result.keys).to match_array(expected_keys)
95+
expect(archive_result.keys).to include(*expected_keys)
9696
end
9797
end
9898
describe '.create_zip' do

0 commit comments

Comments
 (0)