Sha256: 3c55e60646a8c153f1d866f7e89a1611afdf091514a3d8db6d77714ab66871c9

Contents?: true

Size: 222 Bytes

Versions: 3

Compression:

Stored size: 222 Bytes

Contents

require 'spec_helper'

describe Spree::Product do
  describe '#msrp' do
    it 'returns the msrp if it is present' do
      product = create(:product, msrp: 12.34)
      expect(product.msrp).to eq(12.34)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_msrp-2.1.7 spec/product_spec.rb
spree_msrp-2.3.1.2 spec/product_spec.rb
spree_msrp-2.2.4 spec/product_spec.rb