./test/helper.rb in ambition-0.1.0 vs ./test/helper.rb in ambition-0.1.1

- old
+ new

@@ -1,10 +1,16 @@ require 'rubygems' -require 'test/spec' -require 'mocha' -require 'redgreen' -require 'active_support' +begin + require 'test/spec' + require 'mocha' + require 'active_support' +rescue LoadError + puts "=> You need the test-spec, mocha, and activesupport gems to run these tests." + exit +end require 'active_record' + +begin require 'redgreen'; rescue LoadError; end $:.unshift File.dirname(__FILE__) + '/../lib' require 'ambition' class User