Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Require the test extension to be on the end of the filename.

  • Loading branch information...
commit 1954fa35c2344c8194eb2b2085c9e65a9715e117 1 parent 61e6c1e
@alkemist alkemist authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Support/GrailsMate/focussed_test.rb
View
2  Support/GrailsMate/focussed_test.rb
@@ -16,7 +16,7 @@
potential_phases.each do |dir, potential_phase|
phases << "--#{potential_phase}" if t =~ /test\/#{dir}\//
end
- testclasses << clazz.sub(/Tests|Spec|Specification$/, "")
+ testclasses << clazz.sub(/(Tests|Spec|Specification)$/, "")
end
GrailsCommand.new("test-app #{testclasses.uniq.join(' ')} #{phases.uniq.join(' ')}").run
Please sign in to comment.
Something went wrong with that request. Please try again.