summaryrefslogtreecommitdiff
path: root/spec/bundler/install/gemfile/git_spec.rb
diff options
context:
space:
mode:
-rw-r--r--spec/bundler/install/gemfile/git_spec.rb23
1 files changed, 23 insertions, 0 deletions
@@ -235,6 +235,29 @@ RSpec.describe "bundle install with git sources" do
G
end
it "works when the revision is a non-head ref" do
# want to ensure we don't fallback to main
update_git "foo", :path => lib_path("foo-1.0") do |s|