Sha256: 0dcf7256fca9a3ffdeb3f46584f51e008cd2368d40dbd941bfbf9a4951d07460
Contents?: true
Size: 350 Bytes
Versions: 2
Compression:
Stored size: 350 Bytes
Contents
require 'spec_helper' describe PriceAdjustment do it 'uses non-default column' do price_adjustment = PriceAdjustment.create expect(price_adjustment.document_number).not_to be_nil end it 'starts from predefined value' do price_adjustment = PriceAdjustment.create expect(price_adjustment.document_number).to eq('500') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
document_number-0.9.1 | spec/models/price_adjustment_spec.rb |
document_number-0.9.0 | spec/models/price_adjustment_spec.rb |