Initial commit - fresh start
This commit is contained in:
8
spec/models/spree/product_spec.rb
Normal file
8
spec/models/spree/product_spec.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
RSpec.describe Spree::Product, type: :model do
|
||||
let(:store) { @default_store }
|
||||
|
||||
it 'creates a product' do
|
||||
product = create(:product, stores: [store])
|
||||
expect(product).to be_persisted
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user