mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
14 lines
298 B
Ruby
14 lines
298 B
Ruby
|
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
|