diff options
| author | Jesse Wolfe <jes5199@gmail.com> | 2010-03-22 17:53:55 -0700 |
|---|---|---|
| committer | Jesse Wolfe <jes5199@gmail.com> | 2010-03-22 17:53:55 -0700 |
| commit | 4b55fb07741c3f3c3fbad21218acc061671a7c68 (patch) | |
| tree | e3300c2340154c44e89493789fc4111aabe5e7f3 /spec/unit/parser | |
| parent | f891ba29ffeafb5ded6fdd26ef7a5bcde219f76a (diff) | |
| download | puppet-4b55fb07741c3f3c3fbad21218acc061671a7c68.tar.gz puppet-4b55fb07741c3f3c3fbad21218acc061671a7c68.tar.xz puppet-4b55fb07741c3f3c3fbad21218acc061671a7c68.zip | |
bug #3407 Part 2
My change to the Puppet::Module::InvalidName error's initializer broke a
spec in a different file.
Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
Diffstat (limited to 'spec/unit/parser')
| -rw-r--r-- | spec/unit/parser/files.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/parser/files.rb b/spec/unit/parser/files.rb index 4d25f7c72..42953b771 100644 --- a/spec/unit/parser/files.rb +++ b/spec/unit/parser/files.rb @@ -121,7 +121,7 @@ describe Puppet::Parser::Files do describe "when searching for manifests" do it "should ignore invalid modules" do mod = mock 'module' - Puppet::Node::Environment.new.expects(:module).with("mymod").raises Puppet::Module::InvalidName + Puppet::Node::Environment.new.expects(:module).with("mymod").raises(Puppet::Module::InvalidName, "name is invalid") Puppet.expects(:value).with(:modulepath).never Dir.stubs(:glob).returns %w{foo} |
