Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Use Test::Unit 2.0 if present, otherwise work with 1.0

View preinitializer.rb
1 2 3 4 5 6 7 8
# place at the top of test_helper.rb:
 
begin
require 'rubygems'
gem 'test-unit', '~> 2.0'
rescue Gem::LoadError
puts "Could not find Test::Unit 2.0, ignoring"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.