From 1fa45173058a84b502fae4b09a0c65c312a51e69 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Thu, 10 Apr 2014 14:54:41 +0000 Subject: [PATCH] Revert "Fix a test selection bug violating 1:1 principle" This reverts commit d05f7fde253015d6044f1ae3aba14543db7eaa4f. --- lib/mutant/rspec/killer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mutant/rspec/killer.rb b/lib/mutant/rspec/killer.rb index b43cc3dc..9d280f08 100644 --- a/lib/mutant/rspec/killer.rb +++ b/lib/mutant/rspec/killer.rb @@ -68,7 +68,7 @@ module Mutant # def find_with(match_expression) all_example_groups.select do |example_group| - example_group.description == match_expression + example_group.description.start_with?(match_expression) end end