Skip to content

Commit

Permalink
added hook for running a single test using NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkerbot committed Jul 12, 2011
1 parent a7d01b8 commit 4a8910b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_helper.rb
Expand Up @@ -3,3 +3,7 @@
Bundler.setup

require 'test/unit'

if name = ENV['NAME']
ARGV << "--name=#{name}"
end

0 comments on commit 4a8910b

Please sign in to comment.