Skip to content

Commit

Permalink
Merge pull request #168 from mhaskel/test-fixes
Browse files Browse the repository at this point in the history
Use contain_class instead of include_class.
  • Loading branch information
cyberious committed Jun 20, 2014
2 parents 6ad4a48 + c55eb00 commit 86e7496
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/classes/ntp_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
let(:facts) {{ :osfamily => system }}
end

it { should include_class('ntp::install') }
it { should include_class('ntp::config') }
it { should include_class('ntp::service') }
it { should contain_class('ntp::install') }
it { should contain_class('ntp::config') }
it { should contain_class('ntp::service') }

describe "ntp::config on #{system}" do
it { should contain_file('/etc/ntp.conf').with_owner('0') }
Expand Down

0 comments on commit 86e7496

Please sign in to comment.