Sha256: ce4b1aa71d0ed6a7517c4716658dd093a73ea348798bccbbc76ae4585a94dd9c

Contents?: true

Size: 297 Bytes

Versions: 9

Compression:

Stored size: 297 Bytes

Contents

# Copyright (c) 2011, SoundCloud Ltd., Rany Keddo, Tobias Bielohlawek, Tobias
# Schmidt

require File.expand_path(File.dirname(__FILE__)) + "/../bootstrap"

module UnitHelper
  def fixture(name)
    File.read $fixtures.join(name)
  end

  def strip(sql)
    sql.strip.gsub(/\n */, "\n")
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
sbader-lhm-1.1.0 spec/unit/unit_helper.rb
lhm-1.1.0 spec/unit/unit_helper.rb
lhm-1.0.3 spec/unit/unit_helper.rb
lhm-1.0.2 spec/unit/unit_helper.rb
lhm-1.0.0.rc7 spec/unit/unit_helper.rb
lhm-1.0.0.rc6 spec/unit/unit_helper.rb
lhm-1.0.0.rc5 spec/unit/unit_helper.rb
lhm-1.0.0.rc4 spec/unit/unit_helper.rb
lhm-1.0.0.rc3 spec/unit/unit_helper.rb