(maint) remove failing test
This removes the failing test special casing for puppet 4.
This commit is contained in:
parent
27458aff98
commit
3860512d56
1 changed files with 1 additions and 5 deletions
|
@ -5,11 +5,7 @@ describe 'get_module_path' do
|
|||
it { is_expected.to run.with_params().and_raise_error(Puppet::ParseError, /Wrong number of arguments, expects one/) }
|
||||
it { is_expected.to run.with_params('one', 'two').and_raise_error(Puppet::ParseError, /Wrong number of arguments, expects one/) }
|
||||
it { is_expected.to run.with_params('one', 'two', 'three').and_raise_error(Puppet::ParseError, /Wrong number of arguments, expects one/) }
|
||||
if Puppet.version.to_f >= 4.0
|
||||
it { is_expected.to run.with_params('one').and_raise_error(Puppet::Environments::EnvironmentNotFound, /Could not find a directory environment/) }
|
||||
else
|
||||
it { is_expected.to run.with_params('one').and_raise_error(Puppet::ParseError, /Could not find module/) }
|
||||
end
|
||||
it { is_expected.to run.with_params('one').and_raise_error(Puppet::ParseError, /Could not find module/) }
|
||||
|
||||
class StubModule
|
||||
attr_reader :path
|
||||
|
|
Loading…
Reference in a new issue