spec/netsuite/configuration_spec.rb in netsuite-0.8.7 vs spec/netsuite/configuration_spec.rb in netsuite-0.8.8

- old
+ new

@@ -399,10 +399,10 @@ end end describe "#log" do it 'allows a file path to be set as the log destination' do - file_path = Tempfile.new.path + file_path = Tempfile.new('tmplog').path config.log = file_path config.logger.info "foo" log_contents = open(file_path).read expect(log_contents).to include("foo")