Fix a test selection bug violating 1:1 principle

This commit is contained in:
Markus Schirp 2014-04-04 16:30:16 +00:00
parent 69dc9e9e0e
commit d05f7fde25

View file

@ -67,7 +67,7 @@ module Mutant
# #
def find_with(match_expression) def find_with(match_expression)
all_example_groups.select do |example_group| all_example_groups.select do |example_group|
example_group.description.start_with?(match_expression) example_group.description == match_expression
end end
end end