Sha256: 250e0d2c7bd3438eb80b452e57ae9aa3033b0968152ae5e4a60c85e8a32b116b
Contents?: true
Size: 1.69 KB
Versions: 2
Compression:
Stored size: 1.69 KB
Contents
# frozen_string_literal: true # Unit tests for Noths::Financials describe 'Financials' do let(:instance) { Noths::Financials.new } describe 'test an instance of Financials' do it 'should create an instance of Financials' do expect(instance).to be_instance_of(Noths::Financials) end end describe 'test attribute "commission"' do it 'should work' end describe 'test attribute "delivery_commission"' do it 'should work' end describe 'test attribute "items_commission"' do it 'should work' end describe 'test attribute "listing_delivery"' do it 'should work' end describe 'test attribute "listing_discount"' do it 'should work' end describe 'test attribute "listing_items"' do it 'should work' end describe 'test attribute "listing_subtotal"' do it 'should work' end describe 'test attribute "listing_total"' do it 'should work' end describe 'test attribute "manual_payment_total"' do it 'should work' end describe 'test attribute "purchase_delivery"' do it 'should work' end describe 'test attribute "purchase_discount"' do it 'should work' end describe 'test attribute "purchase_items"' do it 'should work' end describe 'test attribute "purchase_subtotal"' do it 'should work' end describe 'test attribute "purchase_total"' do it 'should work' end describe 'test attribute "partner_total"' do it 'should work' end describe 'test attribute "listing_items_discounted"' do it 'should work' end describe 'test attribute "listing_total_with_discount"' do it 'should work' end describe 'test attribute "manual_payments"' do it 'should work' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
noths-0.2.1 | spec/models/financials_spec.rb |
noths-0.2.0 | spec/models/financials_spec.rb |