Fix fixtures path in rspec fixtures helpers
This commit is contained in:
parent
8e4f670fbf
commit
65643e065e
@ -1,7 +1,7 @@
|
|||||||
module FixturesHelpers
|
module FixturesHelpers
|
||||||
FIXTURE_PATH = File.join(File.dirname(__FILE__), '..', 'fixtures')
|
FIXTURES_PATH = 'spec/fixtures'
|
||||||
|
|
||||||
def fixture_path_for(path)
|
def fixture_path_for(path)
|
||||||
File.join(FIXTURE_PATH, path)
|
File.join(FIXTURES_PATH, path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user