Method: Awspec::Generator::Spec::Nlb#nlb_spec_template

Defined in:
lib/awspec/generator/spec/nlb.rb

#nlb_spec_templateObject



24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'lib/awspec/generator/spec/nlb.rb', line 24

def nlb_spec_template
  <<-'EOF'
describe nlb('<%= nlb.load_balancer_name %>') do
  it { should exist }
  its(:load_balancer_arn) { should eq '<%= nlb.load_balancer_arn %>' }
  its(:dns_name) { should eq '<%= nlb.dns_name %>' }
  its(:load_balancer_name) { should eq '<%= nlb.load_balancer_name %>' }
  its(:scheme) { should eq '<%= nlb.scheme %>' }
  its(:vpc_id) { should eq '<%= nlb.vpc_id %>' }
  its(:type) { should eq '<%= nlb.type %>' }
  its(:ip_address_type) { should eq '<%= nlb.ip_address_type %>' }
end
EOF
end