Sha256: 83a9886a71666f22a7a887174bd874e1f224e460c76abaf92d08b8ef693a9ba3
Contents?: true
Size: 600 Bytes
Versions: 4
Compression:
Stored size: 600 Bytes
Contents
require 'spec/spec_helper' # Require the gem require 'lib/kashflow_api' describe KashflowApi::CustomerBalance do before :each do default_config end it "should create a new balance object" do customer = KashflowApi::Customer.find(test_data("customer_code")) customer.balance.should be_a KashflowApi::CustomerBalance end it "should have a balance and a value" do customer = KashflowApi::Customer.find(test_data("customer_code")) customer.balance.value.should be_a Float customer.balance.balance.should be_a Float end end
Version data entries
4 entries across 4 versions & 1 rubygems