File: test_duplicate_alias_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 (9 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
require 'spec_helper'

describe 'test::duplicate_alias' do
  let(:facts) { { 'operatingsystem' => 'Debian' } }
  it { should compile }
  it { should contain_exec('foo_bar_1') }
  it { should contain_exec('foo_bar_2') }
  it { should_not contain_exec('/bin/echo foo bar') }
end