Skip to content

Commit

Permalink
Merge pull request puppetlabs#67 from retr0h/retr0h/deprecation-warnings
Browse files Browse the repository at this point in the history
Moved from `#include_class` to `#contain_class`
  • Loading branch information
hunner committed Jan 29, 2014
2 parents 1c264ae + 30b44a5 commit 9d1522d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Gemfile.lock
4 changes: 2 additions & 2 deletions spec/classes/haproxy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
let(:params) do
{'enable' => true}
end
it { should include_class('concat::setup') }
it { should contain_class('concat::setup') }
it 'should install the haproxy package' do
subject.should contain_package('haproxy').with(
'ensure' => 'present'
Expand Down Expand Up @@ -93,7 +93,7 @@
'manage_service' => false,
}
end
it { should include_class('concat::setup') }
it { should contain_class('concat::setup') }
it 'should install the haproxy package' do
subject.should contain_package('haproxy').with(
'ensure' => 'present'
Expand Down

0 comments on commit 9d1522d

Please sign in to comment.