Skip to content

Commit

Permalink
update to not include lockfile path
Browse files Browse the repository at this point in the history
  • Loading branch information
microsoftly committed Sep 6, 2018
1 parent 41dba65 commit b447304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analyzers/ruby/ruby_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ func TestFallbackOnMissingBundler(t *testing.T) {
}

useBundlerWithLockfilePathOptions := map[string]interface{}{
"strategy": "list",
"gemfile-lock-path": filepath.Join("testdata", "Gemfile.lock"),
"strategy": "list",
}

gemModuleUsingLockfile := module.Module{
Expand All @@ -70,6 +69,7 @@ func TestFallbackOnMissingBundler(t *testing.T) {
Type: pkg.Ruby,
BuildTarget: buildTarget,
Options: useBundlerWithLockfilePathOptions,
Dir: buildTarget,
}

lockfileBasedAnalyzer, lockfileBasedAnalyzerErr := ruby.New(gemModuleUsingLockfile)
Expand Down

0 comments on commit b447304

Please sign in to comment.