test/test.rb in daybreak-0.1.1 vs test/test.rb in daybreak-0.1.2

- old
+ new

@@ -1,9 +1,13 @@ -require 'rubygems' -require 'simplecov' require 'set' -SimpleCov.start -SimpleCov.command_name "Unit tests" + +begin + require 'simplecov' + SimpleCov.start + SimpleCov.command_name "Unit tests" +rescue Exception => ex + puts "No coverage report generated: #{ex.message}" +end require File.expand_path(File.dirname(__FILE__)) + '/test_helper.rb' describe "database functions" do before do