spec/spec_helper.rb in reportable-1.0.3 vs spec/spec_helper.rb in reportable-1.1.0
- old
+ new
@@ -1,15 +1,11 @@
-$:.reject! { |e| e.include? 'TextMate' }
-
ENV['RAILS_ENV'] = 'test'
require 'rubygems'
-require 'spec'
-require 'test/unit'
-require 'active_support'
-require 'initializer'
+require 'bundler'
+Bundler.setup
-require File.join(File.dirname(__FILE__), 'boot') unless defined?(ActiveRecord)
+require File.join(File.dirname(__FILE__), 'boot')
class User < ActiveRecord::Base; end
class YieldMatchException < Exception; end
\ No newline at end of file