Skip to content

Commit

Permalink
Merge pull request #18571 from agrare/fix_sporadic_chargeback_failure
Browse files Browse the repository at this point in the history
Fix a sporadic failure caused by array matching
  • Loading branch information
Fryguy authored Mar 19, 2019
2 parents 7407f63 + 0319d13 commit 736b994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/chargeback_rate_detail_currency_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

it "returns supported currencies" do
expect(ChargebackRateDetailCurrency.count).to eq(164)
expect(ChargebackRateDetailCurrency.all.map(&:code)).to eq(expected_currencies)
expect(ChargebackRateDetailCurrency.all.map(&:code)).to match_array(expected_currencies)
end
end

Expand Down

0 comments on commit 736b994

Please sign in to comment.