summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-19 03:34:16 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-19 03:34:16 +0000
commitb43600284c7d976bdbfd376dacd7f834852763c9 (patch)
treecb04fde87aa48efcaa76721178d921574e4091af
parent61b34906552ca4bd46f9a07dec419a44bac94652 (diff)
downloadpuppet-b43600284c7d976bdbfd376dacd7f834852763c9.tar.gz
puppet-b43600284c7d976bdbfd376dacd7f834852763c9.tar.xz
puppet-b43600284c7d976bdbfd376dacd7f834852763c9.zip
Oops. Fixing the other tests to now past the facts to "fresh?", as required by the fact checking.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2305 980ebf18-57e1-0310-9a29-db15c13687c0
-rwxr-xr-xtest/network/client/master.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/network/client/master.rb b/test/network/client/master.rb
index a8b09c0de..221c2409f 100755
--- a/test/network/client/master.rb
+++ b/test/network/client/master.rb
@@ -477,10 +477,12 @@ end
# We have to make everything thinks it's remote, because there's no local caching info
master.local = false
- assert(! master.fresh?, "Considered fresh with no compile at all")
+ assert(! master.fresh?(master.class.facts),
+ "Considered fresh with no compile at all")
assert_nothing_raised { master.run }
- assert(master.fresh?, "not considered fresh after compile")
+ assert(master.fresh?(master.class.facts),
+ "not considered fresh after compile")
# Now make sure the config time is cached
assert(master.compile_time, "No stored config time")