Sha256: 8dfe12de07f0d53e449c641639830360b8f74229ce255c7bd1f7f54714f1f618
Contents?: true
Size: 672 Bytes
Versions: 2
Compression:
Stored size: 672 Bytes
Contents
require 'spec_helper' describe "QBFC::Company" do before(:each) do @integration = QBFC::Integration::reader @sess = @integration.session @company = @sess.company end after(:each) do @integration.close end it "should get name" do @company.company_name.should == "Test Company" end it "should get address" do @company.address.addr1.should == "123 Address St" @company.address.city.should == "Oklahoma City" @company.address.state.should == "OK" @company.address.postal_code.should == "73160" end it "should get phone" do @company.phone.should == "(555) 555-1212" end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
jm81-qbfc-0.3.0 | spec/integration/company_spec.rb |
qbfc-0.3.0 | spec/integration/company_spec.rb |