diff options
| author | mo khan <mo.khan@gmail.com> | 2020-03-18 17:40:46 +0000 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-03-18 17:40:46 +0000 |
| commit | 08204f2633e2548326f7623ff73dd8db6461c963 (patch) | |
| tree | dac8cd040cb3cc9ad6c0e0b4aa46cda67005b16c /spec/support/fixture_file_helper.rb | |
| parent | 783b136f3e39aca8c8ec4c8d65d44bbf2dbf5d74 (diff) | |
| parent | d900a27a7291fcbc2d699fff8590b4e19eaf475a (diff) | |
Merge branch '33727-airgap' into 'master'v3.1.0
Scan maven projects with dependencies from a custom repository
See merge request gitlab-org/security-products/license-management!120
Diffstat (limited to 'spec/support/fixture_file_helper.rb')
| -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 |
