spec/spec_helper.rb in camaraderie-0.2 vs spec/spec_helper.rb in camaraderie-0.2.1
- old
+ new
@@ -6,17 +6,13 @@
require 'camaraderie'
# Require our macros and extensions
Dir[File.expand_path('../../spec/support/macros/*.rb', __FILE__)].map(&method(:require))
-# Inject our methods into ActiveRecord (like our railtie does)
-ActiveRecord::Base.class_eval(&Camaraderie.inject_into_active_record)
-
RSpec.configure do |config|
# Include our macros
config.include DatabaseMacros
config.include ModelMacros
- config.include RailsMacros
config.before(:each) do
# Create the SQLite database
setup_database