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
|
PREFIX = :rspec
|
||||||
|
|
||||||
# Run test, return report
|
|
||||||
#
|
|
||||||
# @return [Report]
|
|
||||||
#
|
|
||||||
# @api private
|
|
||||||
#
|
|
||||||
def run
|
|
||||||
strategy.run(self)
|
|
||||||
end
|
|
||||||
|
|
||||||
end # Test
|
end # Test
|
||||||
end # Rspec
|
end # Rspec
|
||||||
end # Mutant
|
end # Mutant
|
||||||
|
|
|
@ -22,6 +22,16 @@ module Mutant
|
||||||
end
|
end
|
||||||
memoize :identification
|
memoize :identification
|
||||||
|
|
||||||
|
# Run test, return report
|
||||||
|
#
|
||||||
|
# @return [Report]
|
||||||
|
#
|
||||||
|
# @api private
|
||||||
|
#
|
||||||
|
def run
|
||||||
|
strategy.run(self)
|
||||||
|
end
|
||||||
|
|
||||||
# Return expression
|
# Return expression
|
||||||
#
|
#
|
||||||
# @return [Expression]
|
# @return [Expression]
|
||||||
|
|
Loading…
Add table
Reference in a new issue