Sha256: a5aec7231db879df1de32fd614e7bfc666dd32dbd011d27a5dc1fa6c1ade1610
Contents?: true
Size: 530 Bytes
Versions: 1
Compression:
Stored size: 530 Bytes
Contents
# frozen_string_literal: true require 'rspec/stubbed_env/version' # External Gems require 'rspec' # This Gem require 'rspec/stubbed_env/test_helpers' require 'rspec/stubbed_env/config' # # ENV stubbing is opt-in, via a shared context, rather than global # # describe 'my stubbed test' do # include_context 'with stubbed env' # before do # stub_env('FOO' => 'is bar') # end # it 'does a thing' do # expect(ENV['FOO']).to eq('is bar') # end # end # module RSpec # Gem Namespace module StubbedEnv end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-stubbed_env-1.0.0 | lib/rspec/stubbed_env.rb |