Sha256: 88fc49f5a6419c1d92d52b02c8492088680e3dc09e4ef10b4991621b3742755c

Contents?: true

Size: 585 Bytes

Versions: 15

Compression:

Stored size: 585 Bytes

Contents

require File.join(File.expand_path(File.dirname(__FILE__)), "..", "spec_helper")

describe BillForward::BillingEntity do
	before :all do
		@client = BillForwardTest::TEST_CLIENT
		BillForward::Client.default_client = @client
	end
	describe '::get_all' do
		context 'with query parameters' do
			it "should allow number of records to be specified" do
				# ensure that at least one account exists in addition to our login
				BillForward::Account.create

				records = BillForward::Account.get_all({
					'records' => 1
					})

				expect(records.length).to eq(1)
			end
		end
	end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
bill_forward-2.2016.241 spec/functional/billing_entity_spec.rb
bill_forward-2.2016.227 spec/functional/billing_entity_spec.rb
bill_forward-2.2016.222 spec/functional/billing_entity_spec.rb
bill_forward-2.2016.209 spec/functional/billing_entity_spec.rb
bill_forward-1.2016.117 spec/functional/billing_entity_spec.rb
bill_forward-1.2016.101 spec/functional/billing_entity_spec.rb
bill_forward-1.2016.26 spec/functional/billing_entity_spec.rb
bill_forward-1.2015.321.1 spec/functional/billing_entity_spec.rb
bill_forward-1.2015.321 spec/functional/billing_entity_spec.rb
bill_forward-1.2015.299 spec/functional/billing_entity_spec.rb
bill_forward-1.2015.217.1 spec/functional/billing_entity_spec.rb
bill_forward-1.2015.217 spec/functional/billing_entity_spec.rb
bill_forward-1.2015.186 spec/functional/billing_entity_spec.rb
bill_forward-1.2015.183 spec/functional/billing_entity_spec.rb
bill_forward-1.2014.296 spec/functional/billing_entity_spec.rb