Sha256: 75d9e6c60988276a0ae6d5cd8afbcb3c0df31bb6df186241ba21b6e6aa6b43f8

Contents?: true

Size: 855 Bytes

Versions: 2

Compression:

Stored size: 855 Bytes

Contents

# frozen_string_literal: true

# Unit tests for Noths::Item
describe 'Item' do
  let(:instance) { Noths::Item.new }

  describe 'test an instance of Item' do
    it 'should create an instance of Item' do
      expect(instance).to be_instance_of(Noths::Item)
    end
  end
  describe 'test attribute "id"' do
    it 'should work'
  end

  describe 'test attribute "item_title"' do
    it 'should work'
  end

  describe 'test attribute "quantity"' do
    it 'should work'
  end

  describe 'test attribute "commission_vat_rate"' do
    it 'should work'
  end

  describe 'test attribute "listing_total_gross"' do
    it 'should work'
  end

  describe 'test attribute "product"' do
    it 'should work'
  end

  describe 'test attribute "options"' do
    it 'should work'
  end

  describe 'test attribute "financials"' do
    it 'should work'
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
noths-0.2.1 spec/models/item_spec.rb
noths-0.2.0 spec/models/item_spec.rb