Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: add VR support #120

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

guizaols
Copy link

No description provided.

[Visa](http://en.wikipedia.org/wiki/Visa_Inc.) | :visa
[Switch](http://en.wikipedia.org/wiki/Switch_(debit_card)) | :switch
[Visa](http://en.wikipedia.org/wiki/Visa_Inc.) | :visa
[VR Alimentação](https://www.vr.com.br/) | :vr_alimentacao
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guizaols can you please explain what is the difference between this brands , isn't it 1 single brand to validate, what are use cases to have 3 different types and not only 1 vr

@@ -30,7 +30,7 @@

describe 'Except Amex and Maestro brand' do
it 'should reject all other valid numbers' do
VALID_NUMBERS.except(:amex, :maestro).each do |_, numbers|
VALID_NUMBERS.except(:amex, :maestro, :vr_refeicao).each do |_, numbers|
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

describe 'Except Amex and Maestro brand' now is not reflecting real test, also there is new describe block below
describe 'Only Amex and Mestro brands' that is testing opposite behaviour of this describe block

maybe it is better just to remove this change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants