cookbooks/aws-parallelcluster-platform/spec/unit/recipes/log_rotation_spec.rb [45:64]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        )

        it 'creates the correct logrotate config files' do
          expected_config_files.each do |config_file|
            output_file = log_rotation_path + config_file
            template_file = 'log_rotation/' + config_file + '.erb'
            is_expected.to create_template(output_file).with(
              source: template_file,
              mode:  '0644'
            )
          end
        end

        it 'does not create unexpected logrotate config files' do
          unexpected_config_files.each do |config_file|
            output_file = log_rotation_path + config_file
            is_expected.to_not create_template(output_file)
          end
        end
      end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



cookbooks/aws-parallelcluster-platform/spec/unit/recipes/log_rotation_spec.rb [102:121]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        )

        it 'creates the correct logrotate config files' do
          expected_config_files.each do |config_file|
            output_file = log_rotation_path + config_file
            template_file = 'log_rotation/' + config_file + '.erb'
            is_expected.to create_template(output_file).with(
              source: template_file,
              mode:  '0644'
            )
          end
        end

        it 'does not create unexpected logrotate config files' do
          unexpected_config_files.each do |config_file|
            output_file = log_rotation_path + config_file
            is_expected.to_not create_template(output_file)
          end
        end
      end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



