summaryrefslogtreecommitdiff
path: root/spec/mspec/lib/mspec/runner/formatters/junit.rb
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-15 12:48:26 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-15 12:48:26 +0000
commit5ccf36c7ec8687199424d0966374343477ad55f8 (patch)
tree72a08e4b4634a0d1e1e33a02e61a07aa3c574a47 /spec/mspec/lib/mspec/runner/formatters/junit.rb
parentbd8412b74f50d9ec7bee369970598532a828ed99 (diff)
Update to ruby/mspec@d900a49
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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