diff options
author | HombreLaser <sebastian-440@live.com> | 2023-03-30 18:15:02 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-03-30 18:15:02 -0600 |
commit | 8ec919e91336a51c2a7af9922424bbcf6d7643fe (patch) | |
tree | cd4d8712dfc5dd73be24216d3689ad643ca84dfd /spec/requests | |
parent | 54312e90df7c5a72bba09072f2bbb2c92d77d999 (diff) |
Añade modelo ProductReview
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/cards_controller/update_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/requests/cards_controller/update_spec.rb b/spec/requests/cards_controller/update_spec.rb index 013eba3..77b4c4f 100644 --- a/spec/requests/cards_controller/update_spec.rb +++ b/spec/requests/cards_controller/update_spec.rb @@ -24,7 +24,8 @@ RSpec.describe 'PUT /api/account/addresses', type: :request do "Security code can't be blank"] end let(:expected_text) do - [new_card.number, new_card.expiration_year, new_card.expiration_month, new_card.expiration_day, new_card.security_code] + [new_card.number, new_card.expiration_year, new_card.expiration_month, new_card.expiration_day, + new_card.security_code] end let(:wrong_params) do { number: SecureRandom.hex(24), expiration_year: -20, expiration_month: 13, expiration_day: 33, |