summaryrefslogtreecommitdiff
path: root/spec/support/fixture_helpers.rb
blob: 7b7b20ab1fb99b2b80ad5ea78186641d9a7fffae (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