summaryrefslogtreecommitdiff
path: root/spec/support/fixture_helpers.rb
blob: 8a0e0a0b4ccfa63c296543ca3f66b408fded465b (plain)
1
2
3
4
5
6
7
module FixtureHelpers

  def fixture(name, ext = '.txt')
    File.read(File.join(File.dirname(__FILE__), '..', 'fixtures', name.to_s + ext))
  end

end