Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (21 sloc) 0.445 kB
# Copyright (c) 2011, SoundCloud Ltd., Rany Keddo, Tobias Bielohlawek, Tobias
# Schmidt
require File.expand_path(File.dirname(__FILE__)) + "/../bootstrap"
begin
require 'active_record'
begin
require 'mysql2'
rescue LoadError
require 'mysql'
end
rescue LoadError
require 'dm-core'
end
module UnitHelper
def fixture(name)
File.read $fixtures.join(name)
end
def strip(sql)
sql.strip.gsub(/\n */, "\n")
end
end
Jump to Line
Something went wrong with that request. Please try again.