Skip to content

Commit

Permalink
Update 'disable bundler' scenarios to work with Bundler 2.4.17 and up
Browse files Browse the repository at this point in the history
In recent versions of bundler, plain 'bundle' no longer prints a message
for dependencies that were not updated. This change makes the scenarios
use 'bundle list' instead, which should always keep printing all
dependencies.
  • Loading branch information
mvz committed Sep 1, 2023
1 parent da96e1f commit af58522
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ Feature: Disable Bundler environment
\"\"\"
source 'https://rubygems.org'
\"\"\"
When I run `bundle --local`
When I run `bundle list`
Then the output should not contain "aruba"
Scenario: Run bundle in the existing bundler environment
Given a file named "Gemfile" with:
\"\"\"
source 'https://rubygems.org'
\"\"\"
When I run `bundle --local`
When I run `bundle list`
Then the output should contain "aruba"
"""
When I run `bundle exec cucumber`
Expand Down

0 comments on commit af58522

Please sign in to comment.