diff options
-rw-r--r-- | test/lib/puppettest/runnable_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/puppettest/runnable_test.rb b/test/lib/puppettest/runnable_test.rb index 6dab1b743..977dba47a 100644 --- a/test/lib/puppettest/runnable_test.rb +++ b/test/lib/puppettest/runnable_test.rb @@ -17,10 +17,10 @@ module PuppetTest # Evaluate all of our tests to see if any of them are false # and thus whether this test is considered not runnable. def runnable? + @messages ||= [] if superclass.respond_to?(:runnable?) and ! superclass.runnable? return false end - @messages ||= [] return false unless @messages.empty? return true unless defined? @confines @confines.find_all do |message, result| |