Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 7f78415

Browse files
author
Peter Souter
committed
include_class syntax changed
Was updated in rspec-puppet, from @rodjek's blog: ``` This matcher has now been deprecated and will be removed in the next major release. The reason this is on it's way out is that it doesn't support parameterised classes and this has caused a lot of confusion for many users. ```
1 parent 79e9a80 commit 7f78415

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/classes/java_idrac7_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
let(:facts) { default_test_facts }
55

66
it do
7-
should include_class('java')
7+
should contain_class('java')
88

99
['.java', '.java/deployment', '.java/deployment/security'].each do |dir|
1010
should contain_file("/Users/testuser/#{dir}").with({

spec/classes/java_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111

1212
it do
13-
should include_class('boxen::config')
13+
should contain_class('boxen::config')
1414

1515
should contain_package('jre-7u42.dmg').with({
1616
:ensure => 'present',

0 commit comments

Comments
 (0)