summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/newgem_spec.rb
diff options
context:
space:
mode:
authorMasato Ohba <over.rye@gmail.com>2024-01-27 22:35:38 +0900
committergit <svn-admin@ruby-lang.org>2024-01-29 05:39:13 +0000
commit933ede5d768a0e411336ea27840727442c42d3df (patch)
tree2f640a82746ad8adac586c4cbf02205c34edf9e0 /spec/bundler/commands/newgem_spec.rb
parente99951edfad6c636f561f1e6f3eda2e0609e8fbb (diff)
[rubygems/rubygems] Remove `travis_removal_info`
`travis_removal_info` is added by https://github.com/rubygems/rubygems/pull/6150. According to the comment, it's supposed to be removed at bundler v2.5.0 but it hasn't. https://github.com/rubygems/rubygems/commit/e18797d43f
Diffstat (limited to 'spec/bundler/commands/newgem_spec.rb')
-rw-r--r--spec/bundler/commands/newgem_spec.rb30
1 files changed, 0 insertions, 30 deletions
diff --git a/spec/bundler/commands/newgem_spec.rb b/spec/bundler/commands/newgem_spec.rb
index 7aafc0e49b..199340b131 100644
--- a/spec/bundler/commands/newgem_spec.rb
+++ b/spec/bundler/commands/newgem_spec.rb
@@ -932,24 +932,6 @@ RSpec.describe "bundle gem" do
end
end
- context "--ci set to travis" do
- it "generates a GitHub Actions config file" do
- bundle "gem #{gem_name} --ci=travis", raise_on_error: false
- expect(err).to include("Support for Travis CI was removed from gem skeleton generator.")
-
- expect(bundled_app("#{gem_name}/.travis.yml")).to_not exist
- end
- end
-
- context "--ci set to travis" do
- it "generates a GitHub Actions config file" do
- bundle "gem #{gem_name} --ci=travis", raise_on_error: false
- expect(err).to include("Support for Travis CI was removed from gem skeleton generator.")
-
- expect(bundled_app("#{gem_name}/.travis.yml")).to_not exist
- end
- end
-
context "--ci set to github" do
it "generates a GitHub Actions config file" do
bundle "gem #{gem_name} --ci=github"
@@ -1000,18 +982,6 @@ RSpec.describe "bundle gem" do
end
end
- context "gem.ci setting set to travis" do
- it "errors with friendly message" do
- bundle "config set gem.ci travis"
- bundle "gem #{gem_name}", raise_on_error: false
-
- expect(err).to include("Support for Travis CI was removed from gem skeleton generator,")
- expect(err).to include("bundle config unset gem.ci")
-
- expect(bundled_app("#{gem_name}/.travis.yml")).to_not exist
- end
- end
-
context "gem.ci setting set to github" do
it "generates a GitHub Actions config file" do
bundle "config set gem.ci github"