Add rspec fixtures helpers
This commit is contained in:
parent
a6cfd4d7cb
commit
f0d90c96e9
@ -1 +1,3 @@
|
|||||||
require 'producer/core'
|
require 'producer/core'
|
||||||
|
|
||||||
|
require 'support/fixtures_helpers'
|
||||||
|
7
spec/support/fixtures_helpers.rb
Normal file
7
spec/support/fixtures_helpers.rb
Normal 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
|
Loading…
x
Reference in New Issue
Block a user