From 69fa45a752c3971d38bcf0e91599e8b091e22256 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Sat, 28 Jun 2014 22:38:23 +0000 Subject: [PATCH] Push down Test#run Will soon invalidate the need for RSpec::Test at all. --- lib/mutant/rspec/test.rb | 10 ---------- lib/mutant/test.rb | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/mutant/rspec/test.rb b/lib/mutant/rspec/test.rb index 3d7ac053..a79ec9e0 100644 --- a/lib/mutant/rspec/test.rb +++ b/lib/mutant/rspec/test.rb @@ -8,16 +8,6 @@ module Mutant PREFIX = :rspec - # Run test, return report - # - # @return [Report] - # - # @api private - # - def run - strategy.run(self) - end - end # Test end # Rspec end # Mutant diff --git a/lib/mutant/test.rb b/lib/mutant/test.rb index b658277f..1ff4d3cd 100644 --- a/lib/mutant/test.rb +++ b/lib/mutant/test.rb @@ -22,6 +22,16 @@ module Mutant end memoize :identification + # Run test, return report + # + # @return [Report] + # + # @api private + # + def run + strategy.run(self) + end + # Return expression # # @return [Expression]