Sha256: ad6c917b0ae3fcce598d67b5aa4c102affe62ee1f6b53229188797a887ac8ad6

Contents?: true

Size: 181 Bytes

Versions: 43

Compression:

Stored size: 181 Bytes

Contents

RSpec::Matchers.define :have_env_var do |env_var|
  match do |lambda_function|
    lambda_function.environment.variables.key?(env_var)
  end

  description do
    'exist'
  end
end

Version data entries

43 entries across 43 versions & 3 rubygems

Version Path
cthiesfork-awspec-1.2.2 lib/awspec/matcher/have_env_var.rb
cthiesfork-awspec-1.2.1 lib/awspec/matcher/have_env_var.rb
awspec-1.18.5 lib/awspec/matcher/have_env_var.rb
cthiesfork-awspec-1.2.0 lib/awspec/matcher/have_env_var.rb
cthiesfork-awspec-1.1.0 lib/awspec/matcher/have_env_var.rb
cthiesfork-awspec-1.0.0 lib/awspec/matcher/have_env_var.rb
awspec-1.18.4 lib/awspec/matcher/have_env_var.rb
awspec-1.18.3 lib/awspec/matcher/have_env_var.rb
awspec-1.18.2 lib/awspec/matcher/have_env_var.rb
awspec-1.18.1 lib/awspec/matcher/have_env_var.rb
awspec-1.18.0 lib/awspec/matcher/have_env_var.rb
awspec-1.17.4 lib/awspec/matcher/have_env_var.rb
awspec-1.17.3 lib/awspec/matcher/have_env_var.rb
awspec-1.17.2 lib/awspec/matcher/have_env_var.rb
awspec-1.17.1 lib/awspec/matcher/have_env_var.rb
awspec-1.17.0 lib/awspec/matcher/have_env_var.rb
awspec-1.16.1 lib/awspec/matcher/have_env_var.rb
awspec-1.16.0 lib/awspec/matcher/have_env_var.rb
awspec-1.15.3 lib/awspec/matcher/have_env_var.rb
awspec-1.15.2 lib/awspec/matcher/have_env_var.rb