Skip to content

Commit 2eff9b5

Browse files
committed
Remove required class
1 parent d512eb1 commit 2eff9b5

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

spec/classes/datadog_agent_reports_spec.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
is_expected.to raise_error(Puppet::Error)
3232
end
3333
else
34-
it { is_expected.to contain_class('ruby').with_rubygems_update(false) }
3534
it { is_expected.to contain_class('ruby::params') }
3635
it { is_expected.to contain_package('ruby').with_ensure('installed') }
3736
it { is_expected.to contain_package('rubygems').with_ensure('installed') }
@@ -87,7 +86,6 @@
8786
}
8887
end
8988

90-
it { is_expected.to contain_class('ruby').with_rubygems_update(false) }
9189
it { is_expected.to contain_class('ruby::params') }
9290
it { is_expected.to contain_package('ruby').with_ensure('installed') }
9391
it { is_expected.to contain_package('rubygems').with_ensure('installed') }
@@ -131,7 +129,6 @@
131129
}
132130
end
133131

134-
it { is_expected.to contain_class('ruby').with_rubygems_update(false) }
135132
it { is_expected.to contain_class('ruby::params') }
136133
it { is_expected.to contain_package('ruby').with_ensure('installed') }
137134
it { is_expected.to contain_package('rubygems').with_ensure('installed') }
@@ -170,7 +167,6 @@
170167
}
171168
end
172169

173-
it { is_expected.to contain_class('ruby').with_rubygems_update(false) }
174170
it { is_expected.to contain_class('ruby::params') }
175171
it { is_expected.to contain_package('ruby').with_ensure('installed') }
176172
it { is_expected.to contain_package('rubygems').with_ensure('installed') }
@@ -211,7 +207,6 @@
211207
}
212208
end
213209

214-
it { is_expected.not_to contain_class('ruby').with_rubygems_update(false) }
215210
it { is_expected.not_to contain_class('ruby::params') }
216211
it { is_expected.not_to contain_package('ruby').with_ensure('installed') }
217212
it { is_expected.not_to contain_package('rubygems').with_ensure('installed') }

0 commit comments

Comments
 (0)