diff options
Diffstat (limited to 'spec/models/payment_spec.rb')
-rw-r--r-- | spec/models/payment_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/models/payment_spec.rb b/spec/models/payment_spec.rb new file mode 100644 index 0000000..65bdeec --- /dev/null +++ b/spec/models/payment_spec.rb @@ -0,0 +1,6 @@ +require 'rails_helper' + +RSpec.describe Payment, type: :model do + it { should have_one(:order) } + it { should belong_to(:card) } +end |