Method: Awspec::Generator::Spec::Efs#file_system_spec_template

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

#file_system_spec_templateObject



15
16
17
18
19
20
21
22
23
24
25
# File 'lib/awspec/generator/spec/efs.rb', line 15

def file_system_spec_template
  template = "describe efs('<%= file_system.name %>') do\n  it { should exist }\n  its(:number_of_mount_targets) { should eq <%= file_system.number_of_mount_targets %> }\n  its(:life_cycle_state) { should eq '<%= file_system.life_cycle_state %>' }\n  its(:performance_mode) { should eq '<%= file_system.performance_mode %>' }\nend\n"
  template
end