Sha256: b54fa414a3c6d3a3d87577c1e2f5d145f444d9d371cc06153cb76e1c04d9fc20
Contents?: true
Size: 367 Bytes
Versions: 17
Compression:
Stored size: 367 Bytes
Contents
module G5Authenticatable module Test module EnvHelpers def stub_env_var(name, value) stub_const('ENV', ENV.to_hash.merge(name => value)) end end end end RSpec.configure do |config| config.include G5Authenticatable::Test::EnvHelpers config.before(:each) do stub_env_var('G5_AUTH_ENDPOINT', 'https://test.auth.host') end end
Version data entries
17 entries across 17 versions & 1 rubygems