diff options
Diffstat (limited to 'spec/unit/node/catalog.rb')
| -rwxr-xr-x | spec/unit/node/catalog.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/node/catalog.rb b/spec/unit/node/catalog.rb index e23c53d3a..e3661d995 100755 --- a/spec/unit/node/catalog.rb +++ b/spec/unit/node/catalog.rb @@ -700,8 +700,8 @@ describe Puppet::Node::Catalog do @catalog.resource("File[/yay]").should be_nil end - it "should expire cached data in the resources" do - @catalog.expects(:expire) + it "should expire cached data in the resources both before and after the transaction" do + @catalog.expects(:expire).times(2) @catalog.apply end end |
