blob: 3f9ac22447c84707c7bb119906ccd04b4e3a9c8e (
plain) (
tree)
|
|
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
self.gsub(/\s+/, ' ').strip.must_equal other.gsub(/\s+/, ' ').strip
end
end
|