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
awspec-1.25.1 lib/awspec/matcher/have_env_var.rb
awspec-1.25.0 lib/awspec/matcher/have_env_var.rb
awspec-1.24.4 lib/awspec/matcher/have_env_var.rb
awspec-1.24.3 lib/awspec/matcher/have_env_var.rb
awspec-1.24.2 lib/awspec/matcher/have_env_var.rb
awspec-1.24.1 lib/awspec/matcher/have_env_var.rb
awspec-1.24.0 lib/awspec/matcher/have_env_var.rb
awspec-1.23.0 lib/awspec/matcher/have_env_var.rb
awspec-1.22.1 lib/awspec/matcher/have_env_var.rb
awspec-1.22.0 lib/awspec/matcher/have_env_var.rb
awspec-1.21.1 lib/awspec/matcher/have_env_var.rb
awspec-1.21.0 lib/awspec/matcher/have_env_var.rb
awspec-1.20.0 lib/awspec/matcher/have_env_var.rb
awspec-1.19.2 lib/awspec/matcher/have_env_var.rb
awspec-1.19.1 lib/awspec/matcher/have_env_var.rb
awspec-1.19.0 lib/awspec/matcher/have_env_var.rb
cthiesfork-awspec-1.2.4 lib/awspec/matcher/have_env_var.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/matcher/have_env_var.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/matcher/have_env_var.rb
awspec-1.18.6 lib/awspec/matcher/have_env_var.rb