aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper.rb
blob: f13596f9ec84b33d23aa9dffea1d74f291faac25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'rubygems'
require 'minitest/autorun'
require 'fileutils'
require 'arel'

require 'support/fake_record'
Arel::Table.engine = Arel::Sql::Engine.new(FakeRecord::Base.new)

class Object
  def must_be_like other
    gsub(/\s+/, ' ').strip.must_equal other.gsub(/\s+/, ' ').strip
  end
end