summaryrefslogtreecommitdiff
path: root/spec/mspec/lib/mspec/runner/formatters/junit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/mspec/lib/mspec/runner/formatters/junit.rb')
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/junit.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/mspec/lib/mspec/runner/formatters/junit.rb b/spec/mspec/lib/mspec/runner/formatters/junit.rb
index 647deee7e1..76d46c2414 100644
--- a/spec/mspec/lib/mspec/runner/formatters/junit.rb
+++ b/spec/mspec/lib/mspec/runner/formatters/junit.rb
@@ -1,5 +1,4 @@
require 'mspec/expectations/expectations'
-require 'mspec/utils/ruby_name'
require 'mspec/runner/formatters/yaml'
class JUnitFormatter < YamlFormatter
@@ -39,7 +38,7 @@ class JUnitFormatter < YamlFormatter
errors="#{errors}"
failures="#{failures}"
time="#{time}"
- name="Spec Output For #{::RUBY_NAME} (#{::RUBY_VERSION})">
+ name="Spec Output For #{::RUBY_ENGINE} (#{::RUBY_VERSION})">
XML
@tests.each do |h|
description = encode_for_xml h[:test].description