diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/product_review_spec.rb | 5 | ||||
-rw-r--r-- | spec/requests/cards_controller/update_spec.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/spec/models/product_review_spec.rb b/spec/models/product_review_spec.rb new file mode 100644 index 0000000..9dfbff2 --- /dev/null +++ b/spec/models/product_review_spec.rb @@ -0,0 +1,5 @@ +require 'rails_helper' + +RSpec.describe ProductReview, type: :model do + pending "add some examples to (or delete) #{__FILE__}" +end 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, |