aboutsummaryrefslogtreecommitdiffstats
path: root/spec/mspec/lib/mspec/runner/formatters/yaml.rb
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2019-11-30 21:26:49 +0100
committerBenoit Daloze <eregontp@gmail.com>2019-11-30 21:26:49 +0100
commitab8345271eb87ff155d8bd5f22f53a4cf2902c26 (patch)
treea775c04b2f78d0e5ee566251f4cfbbaaf1051328 /spec/mspec/lib/mspec/runner/formatters/yaml.rb
parent93a512414cbe3713f478038f6d4f5fe81c4eb62a (diff)
downloadruby-ab8345271eb87ff155d8bd5f22f53a4cf2902c26.tar.gz
Update to ruby/mspec@a401f63
Diffstat (limited to 'spec/mspec/lib/mspec/runner/formatters/yaml.rb')
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/yaml.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/spec/mspec/lib/mspec/runner/formatters/yaml.rb b/spec/mspec/lib/mspec/runner/formatters/yaml.rb
index bb98f7931e..6c05cc902f 100644
--- a/spec/mspec/lib/mspec/runner/formatters/yaml.rb
+++ b/spec/mspec/lib/mspec/runner/formatters/yaml.rb
@@ -1,8 +1,7 @@
-require 'mspec/expectations/expectations'
-require 'mspec/runner/formatters/dotted'
+require 'mspec/runner/formatters/base'
-class YamlFormatter < DottedFormatter
- def initialize(out=nil)
+class YamlFormatter < BaseFormatter
+ def initialize(out = nil)
super(nil)
if out.nil?
@@ -16,9 +15,6 @@ class YamlFormatter < DottedFormatter
@out = @finish
end
- def after(state = nil)
- end
-
def finish
switch