Push down Test#run
Will soon invalidate the need for RSpec::Test at all.
This commit is contained in:
parent
ca967c8774
commit
69fa45a752
2 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue