File: array_spec.rb

package info (click to toggle)
ruby-rspec-puppet 2.9.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,416 kB
  • sloc: ruby: 6,661; makefile: 6
file content (15 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'spec_helper'

describe 'someotherhost' do
  let(:pre_condition) { <<-EOF
    define foo($param) {
    }

    foo { 'bar':
      param => ['baz'],
    }
    EOF
  }

  it { should contain_foo('bar').with_param(['baz']) }
end