Sha256: 493ce40e5bc297ef88a6abb48f7e8055dfd528725fedb6f03aa45645fdd43680

Contents?: true

Size: 252 Bytes

Versions: 7

Compression:

Stored size: 252 Bytes

Contents

require 'spec/spec_helper'

describe ShopProduct do
  
  dataset :shop_products
  
  before :each do
    @product = shop_products(:crusty_bread)
  end
  
  it 'should have many variants' do
    @product.variants.is_a?(Array).should be_true
  end
  
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
radiant-shop_variants-extension-0.1.3 spec/models/shop_product_spec.rb
radiant-shop_variants-extension-0.1.2 spec/models/shop_product_spec.rb
radiant-shop_variants-extension-0.1.1 spec/models/shop_product_spec.rb
radiant-shop_variants-extension-0.1.0 spec/models/shop_product_spec.rb
radiant-shop_variants-extension-0.0.4 spec/models/shop_product_spec.rb
radiant-shop_variants-extension-0.0.3 spec/models/shop_product_spec.rb
radiant-shop_variants-extension-0.0.1 spec/models/shop_product_spec.rb