Skip to content

Commit

Permalink
Merge pull request #147 from supercow/spec_deprecation
Browse files Browse the repository at this point in the history
Fix spec deprecation warnings for include_class
  • Loading branch information
mhaskel committed May 2, 2014
2 parents dc713c4 + 2bc3dcd commit f86f8da
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 f86f8da

Please sign in to comment.