diff options
author | Frank Lam <ryzingsun11@yahoo.com> | 2020-06-02 08:59:53 +0800 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
commit | 0ba2f3e8a9ceee6561c2aa2116b37aeddf891a3e (patch) | |
tree | f8aa4a4e1490898829f25def48c445c6f7edfc9d /spec/bundler/commands/newgem_spec.rb | |
parent | 091daaa715e80a3964d7ddbcb53b40857d9399a8 (diff) | |
download | ruby-0ba2f3e8a9ceee6561c2aa2116b37aeddf891a3e.tar.gz |
[rubygems/rubygems] Move already configured --ci hint to before CI file creation
https://github.com/rubygems/rubygems/commit/2af2abe5fd
Diffstat (limited to 'spec/bundler/commands/newgem_spec.rb')
-rw-r--r-- | spec/bundler/commands/newgem_spec.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/spec/bundler/commands/newgem_spec.rb b/spec/bundler/commands/newgem_spec.rb index 325b9a7edd..46f73179f3 100644 --- a/spec/bundler/commands/newgem_spec.rb +++ b/spec/bundler/commands/newgem_spec.rb @@ -749,11 +749,8 @@ RSpec.describe "bundle gem" do expect(bundled_app("#{gem_name}/.github/workflows/main.yml")).to exist end - it "hints that --ci is not needed" do - hint = "Bundler is configured to generate CI files for github, "\ - "so --ci is not needed if you want to continue using it. " \ - "This setting can be changed anytime with `bundle config gem.ci`." - expect(out).to match(hint) + it "hints that --ci is already configured" do + expect(out).to match("github is already configured, ignoring --ci flag.") end end |