test/helper.rb in lotus_notes_calendar-0.0.1.pre vs test/helper.rb in lotus_notes_calendar-0.0.2
- old
+ new
@@ -1,15 +1,23 @@
require 'rubygems'
require 'bundler'
+
+require 'simplecov'
+SimpleCov.start do
+ add_filter '/vendor/bundle/'
+ add_filter '/test/'
+end
+
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
- $stderr.puts "Run `bundle install` to install missing gems"
+ $stderr.puts 'Run `bundle install` to install missing gems'
exit e.status_code
end
require 'test/unit'
require 'shoulda'
+require 'turn'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'lotus_notes_calendar'