test/test_helper.rb in fiveruns-dash-ruby-0.7.6 vs test/test_helper.rb in fiveruns-dash-ruby-0.8.0
- old
+ new
@@ -3,11 +3,16 @@
begin
require 'shoulda'
require 'flexmock/test_unit'
require 'fake_web'
-rescue
+rescue LoadError
puts "Please install the Shoulda, FakeWeb and flexmock gems to run the Dash plugin tests."
+end
+
+begin
+ require 'redgreen'
+rescue LoadError
end
$:.unshift(File.dirname(__FILE__) << '/../lib')
# Require library files
require 'fiveruns/dash'