spec/netsuite/configuration_spec.rb in netsuite-0.7.4 vs spec/netsuite/configuration_spec.rb in netsuite-0.7.5
- old
+ new
@@ -259,6 +259,18 @@
config.sandbox = true
expect(config.wsdl_domain).to eq('webservices.sandbox.netsuite.com')
end
+ describe '#logger=' do
+ let(:logger) { Logger.new(nil) }
+
+ before do
+ config.logger = logger
+ end
+
+ it 'sets logger' do
+ expect(config.logger).to eql(logger)
+ end
+ end
+
end