Sha256: 0564cdc006828bd4ac45e96820aa5d5c32a3b2d4166685e4b4ca3f8db9beef60
Contents?: true
Size: 1.09 KB
Versions: 55
Compression:
Stored size: 1.09 KB
Contents
require 'spec_helper' describe NetSuite do let(:config) { NetSuite::Configuration } before do config.reset! end describe '#configure' do it 'allows the Configuration #email instance method to be called with instance eval' do NetSuite.configure do email 'me@example.com' end config.email.should eql('me@example.com') end it 'allows the Configuration #password instance method to be called with instance eval' do NetSuite.configure do password 'myPassword' end config.password.should eql('myPassword') end it 'allows the Configuration #account instance method to be called with instance eval' do NetSuite.configure do account 1234 end config.account.should eql(1234) end it 'allows the Configuration #wsdl instance method to be called with instance_eval' do NetSuite.configure do wsdl 'https://system.sandbox.netsuite.com/wsdl/v2011_2_0/netsuite.wsdl' end config.wsdl.should eql('https://system.sandbox.netsuite.com/wsdl/v2011_2_0/netsuite.wsdl') end end end
Version data entries
55 entries across 55 versions & 1 rubygems