aboutsummaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-08-13 15:30:22 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-08-13 15:30:22 -0700
commitb1e7bd7d026c888d4c406adc595577b7ebc84ed5 (patch)
tree48fac168dd38abfebff0650d2695cd51db490e21 /spec/spec_helper.rb
parenta37bdba9be810fa5fc292175497ee614900c5043 (diff)
downloadrails-b1e7bd7d026c888d4c406adc595577b7ebc84ed5.tar.gz
rails-b1e7bd7d026c888d4c406adc595577b7ebc84ed5.tar.bz2
rails-b1e7bd7d026c888d4c406adc595577b7ebc84ed5.zip
insert manager is starting to take shape
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 5d3f5a2950..797fe0a028 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -3,11 +3,15 @@ require 'spec'
require 'fileutils'
require 'arel'
+require 'support/matchers/be_like'
+
if adapter = ENV['ADAPTER']
require "support/connections/#{adapter}_connection.rb"
end
Spec::Runner.configure do |config|
+ config.include Matchers
+
if defined?(ActiveRecord::Base)
tmp = File.expand_path('../../tmp', __FILE__)