Skip to content

Commit

Permalink
reintate test for v1, clarify fixture name
Browse files Browse the repository at this point in the history
  • Loading branch information
brrygrdn committed Apr 9, 2021
1 parent 52e2398 commit 45e1d89
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bundler/spec/dependabot/bundler/file_parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@
end
end

context "from a gems.rb and gems.locked", :bundler_v2_only do
let(:dependency_files) { bundler_project_dependency_files("version_specified_bundler_2") }
context "from a gems.rb and gems.locked" do
let(:dependency_files) { bundler_project_dependency_files("version_specified_gems_rb") }

its(:length) { is_expected.to eq(2) }

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
business (1.4.0)
statesman (1.2.1)

PLATFORMS
ruby

DEPENDENCIES
business (~> 1.4.0)
statesman (~> 1.2.0)

BUNDLED WITH
1.17.3
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "https://rubygems.org"

gem "business", "~> 1.4.0"
gem "statesman", "~> 1.2.0"

0 comments on commit 45e1d89

Please sign in to comment.