diff options
Diffstat (limited to 'qa/spec/runtime/env_spec.rb')
-rw-r--r-- | qa/spec/runtime/env_spec.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/qa/spec/runtime/env_spec.rb b/qa/spec/runtime/env_spec.rb index 22603497019..a41d7385c41 100644 --- a/qa/spec/runtime/env_spec.rb +++ b/qa/spec/runtime/env_spec.rb @@ -47,13 +47,6 @@ RSpec.describe QA::Runtime::Env do default: false end - describe '.debug?' do - it_behaves_like 'boolean method', - method: :debug?, - env_key: 'QA_DEBUG', - default: false - end - describe '.webdriver_headless?' do it_behaves_like 'boolean method', method: :webdriver_headless?, @@ -264,20 +257,6 @@ RSpec.describe QA::Runtime::Env do end end - describe '.log_destination' do - it 'returns $stdout if QA_LOG_PATH is not defined' do - stub_env('QA_LOG_PATH', nil) - - expect(described_class.log_destination).to eq($stdout) - end - - it 'returns the path if QA_LOG_PATH is defined' do - stub_env('QA_LOG_PATH', 'path/to_file') - - expect(described_class.log_destination).to eq('path/to_file') - end - end - describe '.can_test?' do it_behaves_like 'boolean method with parameter', method: :can_test?, |