spec/spec_helper.rb in draper-0.5.0 vs spec/spec_helper.rb in draper-0.7.0
- old
+ new
@@ -1,7 +1,13 @@
require 'rubygems'
require 'bundler'
-require 'cover_me'
+
+require 'rspec'
+begin
+ require 'cover_me'
+rescue LoadError
+ # Silently fail
+end
require './spec/samples/application_helper.rb'
Bundler.require
Dir.glob('./spec/samples/*') {|file| require file}
require 'active_support'
require 'action_view'
\ No newline at end of file