Add rspec fixtures helpers
This commit is contained in:
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
|
Reference in New Issue
Block a user