Expand foo= to foo_writer_spec.rb in dm-2 strategy
This commit is contained in:
parent
3fc07deaff
commit
6a935fecf0
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ module Mutant
|
|||
def spec_file
|
||||
matcher.method_name.to_s.
|
||||
gsub(/\?\z/, '_predicate').
|
||||
gsub(/\=\z/, '_writer').
|
||||
gsub(/!\z/, '_bang') + '_spec.rb'
|
||||
end
|
||||
memoize :spec_file
|
||||
|
|
Loading…
Reference in a new issue