lib/hexx/rspec.rb in hexx-rspec-0.2.1 vs lib/hexx/rspec.rb in hexx-rspec-0.2.2
- old
+ new
@@ -23,10 +23,10 @@
#
# @param [Object] scope
#
# @return [self]
def load_metrics_for(scope)
- return unless ENV["USE_SIMPLECOV"]
+ return unless ENV["USE_SIMPLECOV"] && (RUBY_ENGINE == "ruby")
scope.instance_eval { Hexx::RSpec::Metrics::SimpleCov.run }
end
# Loads all the necessary rake tasks
#