Upcast to fix type error

This commit is contained in:
Michael Miller 2018-10-06 09:58:58 -06:00
parent 79886e9efb
commit f11031f113

View file

@ -12,7 +12,7 @@ module Spectator
@formatter.start_example(example)
example.run.tap do |result|
@formatter.end_example(result)
end
end.as(Result)
end
end
@formatter.end_suite(TestResults.new(results, elapsed))