spec/spec_helper.rb in render_csv-0.0.1 vs spec/spec_helper.rb in render_csv-1.0.0
- old
+ new
@@ -1,9 +1,9 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
-require 'rspec'
-require 'active_record'
+require 'rails/all'
+require 'rspec/rails'
require 'render_csv'
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}