Sha256: 2390bbfc0b704ed6339c2306db08a83eb18f90cba1b56077c84a7a0f38d0494e

Contents?: true

Size: 382 Bytes

Versions: 10

Compression:

Stored size: 382 Bytes

Contents

require 'spec_helper'

<% test.classes.each do |cls| -%>
describe "<%= cls.name %>" do
<% test.nodes.each do |node| -%>
  context "using fact set <%= node.name %>" do
    let(:facts) { <%= node.fact_set %> }
<% if pre_condition -%>
    let(:pre_condition) { 
      pp = <<END
<%= pre_condition.chomp %>
END
    }
<% end -%>
    it { should compile }
  end
<% end -%>
end

<% end -%>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
controlrepo-2.0.10 templates/test_spec.rb.erb
controlrepo-2.0.8 templates/test_spec.rb.erb
controlrepo-2.0.7 templates/test_spec.rb.erb
controlrepo-2.0.6 templates/test_spec.rb.erb
controlrepo-2.0.5 templates/test_spec.rb.erb
controlrepo-2.0.3 templates/test_spec.rb.erb
controlrepo-2.0.2 templates/test_spec.rb.erb
controlrepo-2.0.1 templates/test_spec.rb.erb
controlrepo-2.0.0 templates/test_spec.rb.erb
controlrepo-1.1.0 templates/test_spec.rb.erb