Sha256: 5de5853e88053536dd1ba224642124d37422f93aa5fbe13b01bea241f2ca503e
Contents?: true
Size: 724 Bytes
Versions: 6
Compression:
Stored size: 724 Bytes
Contents
module NetSuiteRails module Spec module TestDisabler def disable_netsuite_communication before do @_push_disabled = NetSuiteRails::Configuration.netsuite_push_disabled @_pull_disabled = NetSuiteRails::Configuration.netsuite_pull_disabled NetSuiteRails::Configuration.netsuite_push_disabled true NetSuiteRails::Configuration.netsuite_pull_disabled true end after do NetSuiteRails::Configuration.netsuite_push_disabled @_push_disabled NetSuiteRails::Configuration.netsuite_pull_disabled @_pull_disabled end end end end end RSpec.configure do |config| config.extend NetSuiteRails::Spec::TestDisabler end
Version data entries
6 entries across 6 versions & 1 rubygems