Sha256: e87a3f58596ebfeb2296eeb281f4c58f6f0c9590036a8311539f25eb6787661f
Contents?: true
Size: 641 Bytes
Versions: 11
Compression:
Stored size: 641 Bytes
Contents
require 'rails_helper' require 'spree/testing_support/factories/product_factory' RSpec.describe 'product factory' do let(:factory_class) { Spree::Product } describe 'plain product' do let(:factory) { :product } it_behaves_like 'a working factory' end describe 'base product' do let(:factory) { :base_product } it_behaves_like 'a working factory' end describe 'custom product' do let(:factory) { :custom_product } it_behaves_like 'a working factory' end describe 'product with option types' do let(:factory) { :product_with_option_types } it_behaves_like 'a working factory' end end
Version data entries
11 entries across 11 versions & 1 rubygems