diff options
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/fixture_file_helper.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/support/fixture_file_helper.rb b/spec/support/fixture_file_helper.rb index c98b98a..fe11acd 100644 --- a/spec/support/fixture_file_helper.rb +++ b/spec/support/fixture_file_helper.rb @@ -1,5 +1,9 @@ module FixtureFileHelper def fixture_file_content(path) - IO.read(License::Management.root.join("spec/fixtures/#{path}")) + IO.read(fixture_file(path)) + end + + def fixture_file(path) + License::Management.root.join("spec/fixtures/#{path}") end end |
