diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-02-02 20:23:14 +0900 |
---|---|---|
committer | NARUSE, Yui <nurse@users.noreply.github.com> | 2021-02-02 21:30:08 +0900 |
commit | cc51cfabfd0592dd49d4a8ad4bc78e0520128e72 (patch) | |
tree | a9de6659d2201e326fd0ecead4252f87a4feb177 /spec/bundler/bundler/gem_helper_spec.rb | |
parent | 71b4638ca29a5d8a7d6f72e453513035d2096f47 (diff) |
Merge Bundler-2.2.7
Diffstat (limited to 'spec/bundler/bundler/gem_helper_spec.rb')
-rw-r--r-- | spec/bundler/bundler/gem_helper_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/bundler/bundler/gem_helper_spec.rb b/spec/bundler/bundler/gem_helper_spec.rb index 30befdf40c..7eb334356d 100644 --- a/spec/bundler/bundler/gem_helper_spec.rb +++ b/spec/bundler/bundler/gem_helper_spec.rb @@ -266,6 +266,14 @@ RSpec.describe Bundler::GemHelper do Rake.application["release"].invoke end + + it "also works with releasing from a branch not yet pushed" do + sys_exec("git checkout -b module_function", :dir => app_path) + + expect(subject).to receive(:rubygem_push).with(app_gem_path.to_s) + + Rake.application["release"].invoke + end end context "on releasing with a custom tag prefix" do |