Correct method expansion
This commit is contained in:
parent
7be00708b6
commit
ef25d84326
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ module Mutant
|
|||
#
|
||||
def spec_file
|
||||
matcher.method_name.to_s.
|
||||
gsub(/\?\z/, 'predicate').
|
||||
gsub(/!\z/, 'bang') + '_spec.rb'
|
||||
gsub(/\?\z/, '_predicate').
|
||||
gsub(/!\z/, '_bang') + '_spec.rb'
|
||||
end
|
||||
memoize :spec_file
|
||||
|
||||
|
|
Loading…
Reference in a new issue