Add rspec fixtures helpers

This commit is contained in:
Thibault Jouan 2013-07-27 17:57:48 +00:00
parent a6cfd4d7cb
commit f0d90c96e9
2 changed files with 9 additions and 0 deletions

View File

@ -1 +1,3 @@
require 'producer/core'
require 'support/fixtures_helpers'

View File

@ -0,0 +1,7 @@
module FixturesHelpers
FIXTURE_PATH = File.join(File.dirname(__FILE__), '..', 'fixtures')
def fixture_path_for(path)
File.join(FIXTURE_PATH, path)
end
end