Sha256: 55c29df9a1760914038dd4d8eee7175881545317d16e1be500f5fcf6bcfb60c5

Contents?: true

Size: 247 Bytes

Versions: 6

Compression:

Stored size: 247 Bytes

Contents

require 'spec_helper'

describe Spree::ProductProperty, :type => :model do
  context "touching" do
    it "should update product" do
      pp = create(:product_property)
      expect(pp.product).to receive(:touch)
      pp.touch
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_core-3.0.10 spec/models/spree/product_property_spec.rb
spree_core-3.0.9 spec/models/spree/product_property_spec.rb
spree_core-3.0.8 spec/models/spree/product_property_spec.rb
spree_core-3.0.7 spec/models/spree/product_property_spec.rb
spree_core-3.0.6.1 spec/models/spree/product_property_spec.rb
spree_core-3.0.6 spec/models/spree/product_property_spec.rb