diff --git a/lib/rspec-puppet/coverage.rb b/lib/rspec-puppet/coverage.rb
index <HASH>..<HASH> 100644
--- a/lib/rspec-puppet/coverage.rb
+++ b/lib/rspec-puppet/coverage.rb
@@ -159,7 +159,13 @@ module RSpec::Puppet
         end
         coverage_test.run(RSpec.configuration.reporter)
 
-        if coverage_results.execution_result[:status] == :failed
+        status = if coverage_results.execution_result.respond_to?(:status)
+                   coverage_results.execution_result.status
+                 else
+                   coverage_results.execution_result[:status]
+                 end
+
+        if status == :failed
           RSpec.world.non_example_failure = true
           RSpec.world.wants_to_quit = true
         end
Fix deprecation warning from <I> with latest rspec