Skip to content

Commit 6b1c19c

Browse files
committed
Update test to check correct field
1 parent 9b79271 commit 6b1c19c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/components/credit_card_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
it 'raises an exception for an invalid last_4_digits' do
2828
expect do
2929
Minfraud::Components::CreditCard.new(
30-
last_digits: '6',
30+
last_4_digits: '6',
3131
)
3232
end.to raise_exception(Minfraud::InvalidInputError)
3333
end

0 commit comments

Comments
 (0)