Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmortlock committed Dec 19, 2016
1 parent cda871e commit ba0b12a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/sensitive_data/types/credit_card_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'422 222 222 2 222'],
'Dankort (PBS)' => ['5019 7170 1010 3742'],
'Switch/Solo (Paymentech)' => ['6331 1019 9999 0016'],
'Unconventionally Typed' => ['3782 8224 6310 005']
'Unconventionally Typed' => ['3782 8224 6310 005', '4111111111111111']
}
}
let(:valid_cards) { example_cards.values.flatten }
Expand Down Expand Up @@ -63,7 +63,7 @@ def validations(cards)

context 'a value that contains valid credit card numbers in a longer numerical pattern' do
let(:value) { '1234111 1111 1111 1111234' }
specify { expect(scan).to eq '4111 1111 1111 1111' }
specify { expect(scan).to eq ['4111 1111 1111 1111'] }
end

context 'a value that does not contain valid credit card numbers' do
Expand Down

0 comments on commit ba0b12a

Please sign in to comment.