summaryrefslogtreecommitdiff
path: root/spec/bundler/commands
diff options
context:
space:
mode:
authorFrank Lam <ryzingsun11@yahoo.com>2020-06-03 04:09:47 +0800
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-18 19:14:15 +0900
commitf6c8ca03595ba7e105e0e0d56e075babca70b5bd (patch)
tree58b2f5c7fb2d6d4c7a4815a933177f04b178370c /spec/bundler/commands
parent0ba2f3e8a9ceee6561c2aa2116b37aeddf891a3e (diff)
[rubygems/rubygems] Move already configured --test hint to before test file creation
https://github.com/rubygems/rubygems/commit/9e5f7a9099
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'spec/bundler/commands')
-rw-r--r--spec/bundler/commands/newgem_spec.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/spec/bundler/commands/newgem_spec.rb b/spec/bundler/commands/newgem_spec.rb
index 46f73179f3..0d787d1f0b 100644
--- a/spec/bundler/commands/newgem_spec.rb
+++ b/spec/bundler/commands/newgem_spec.rb
@@ -608,11 +608,8 @@ RSpec.describe "bundle gem" do
expect(bundled_app("#{gem_name}/spec/spec_helper.rb")).to exist
end
- it "hints that --test is not needed" do
- hint = "Bundler is configured to generate test files for rspec, "\
- "so -t is not needed if you want to continue using it. " \
- "This setting can be changed anytime with `bundle config gem.test`."
- expect(out).to match(hint)
+ it "hints that --test is already configured" do
+ expect(out).to match("rspec is already configured, ignoring --test flag.")
end
end