Sha256: dc521c0c7ae50672e9aac545a094e6b5294997745a3c5800fcc06188e3a89e62
Contents?: true
Size: 517 Bytes
Versions: 3
Compression:
Stored size: 517 Bytes
Contents
# frozen_string_literal: true # This needs to be set before we require `spec_helper` to simulate setting an ENV when running a spec like: # `DEPRECATION_BEHAVIOR="record" bundle exec rspec path/to/spec.rb` ENV['DEPRECATION_BEHAVIOR'] = "record" require 'spec_helper' RSpec.describe("DeprecationToolkit::RSpecPlugin ENV options") do it 'should set the behavior to `Record` when ENV variable is set' do expect(DeprecationToolkit::Configuration.behavior).to(eq(DeprecationToolkit::Behaviors::Record)) end end
Version data entries
3 entries across 3 versions & 1 rubygems