Sha256: 2ab1e950b7095107ccdfb7e0e0acc3b624df1906454bcf38fd1d4832596b4654

Contents?: true

Size: 358 Bytes

Versions: 21

Compression:

Stored size: 358 Bytes

Contents

require "spec_helper"

describe PagSeguro::Transaction::Item do
  let(:item) do
    PagSeguro::Transaction::Item.new('0001', 'Notebook Prata',
     '1', '24300.00')
  end

  subject { item }

  its(:id) { should eq('0001') }
  its(:description) { should eq('Notebook Prata') }
  its(:quantity) { should eq('1') }
  its(:amount) { should eq('24300.00') }
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pagseguro-transparente-1.1.0 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-1.0.1 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-1.0.0 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.2.5 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.2.4 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.2.3 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.2.2 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.2.1 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.2.0 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.1.3 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.1.2 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.1.1 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.1.0 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.0.9 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.0.8 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.0.7 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.0.6 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.0.5 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.0.4 spec/pagseguro/transaction/item_spec.rb
pagseguro-transparente-0.0.3 spec/pagseguro/transaction/item_spec.rb