From d520e6d9717d8a64e870930d08218eb30d803690 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Tue, 4 Apr 2023 20:45:51 -0600 Subject: AƱade specs de Cart, ProductCart MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec/models/product_cart_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spec/models/product_cart_spec.rb') diff --git a/spec/models/product_cart_spec.rb b/spec/models/product_cart_spec.rb index 7a1a676..5a300b8 100644 --- a/spec/models/product_cart_spec.rb +++ b/spec/models/product_cart_spec.rb @@ -1,5 +1,6 @@ require 'rails_helper' RSpec.describe ProductCart, type: :model do - pending "add some examples to (or delete) #{__FILE__}" + it { should belong_to(:product) } + it { should belong_to(:cart) } end -- cgit v1.2.3