Sha256: 86e7efc5e3ee4cb18c6d364010f59bff74115f18baa98513a94b4dffbeaa771d

Contents?: true

Size: 288 Bytes

Versions: 5

Compression:

Stored size: 288 Bytes

Contents

require './lib/marver.rb'

describe Marver::Price do
  let(:price) { Marver::Price.new({"type" => "printPrice", "price" => 3.99}) }

  it '#type - type of price' do
    expect(price.type).to eq "printPrice"
  end

  it '#price - the price' do
    expect(price.price).to eq 3.99
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
marver-0.1.0 spec/marver/entities/price_spec.rb
marver-0.0.6 spec/marver/entities/price_spec.rb
marver-0.0.5 spec/marver/entities/price_spec.rb
marver-0.0.4 spec/marver/entities/price_spec.rb
marver-0.0.2 spec/marver/entities/price_spec.rb