Sha256: ba94ae275f8a8800dc08df5eccaf6b455133f4ab14053dda3a9bdf2919c6898c

Contents?: true

Size: 269 Bytes

Versions: 5

Compression:

Stored size: 269 Bytes

Contents

require 'spec_helper'

describe ProcessingKz::GoodsItem do

  it 'creates goods item' do
    goods_item = ProcessingKz::GoodsItem.new(title: 'Cool stuff', good: 124, amount: 1200.00, currency_code: 398)
    expect(goods_item.name_of_goods).to eq('Cool stuff')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
processing_kz-0.1.44 spec/goods_item_spec.rb
processing_kz-0.1.43 spec/goods_item_spec.rb
processing_kz-0.1.42 spec/goods_item_spec.rb
processing_kz-0.1.41 spec/goods_item_spec.rb
processing_kz-0.1.4 spec/goods_item_spec.rb