summaryrefslogtreecommitdiffstats
path: root/spec/unit/node
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/node')
-rwxr-xr-xspec/unit/node/environment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/node/environment.rb b/spec/unit/node/environment.rb
index 9b0d5eefa..6a775af2f 100755
--- a/spec/unit/node/environment.rb
+++ b/spec/unit/node/environment.rb
@@ -171,7 +171,7 @@ describe Puppet::Node::Environment do
env.expects(:modulepath).returns %w{/a}
Dir.expects(:entries).with("/a").returns %w{foo}
- env.modules.should be_all{|mod| mod.environment == "testing" }
+ env.modules.each {|mod| mod.environment.should == "testing" }
end
it "should cache the module list" do