aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/commands/console_spec.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-18 12:13:33 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-18 13:33:18 +0900
commit0e40cc9b194a5e46024d32b85a61e651372a65cb (patch)
treed91f781ca34d78897d8cea9fb3403e47f891df5a /spec/bundler/commands/console_spec.rb
parent34f06062174882a98ebef998c50ad8d4f7fc0f2e (diff)
downloadruby-0e40cc9b194a5e46024d32b85a61e651372a65cb.tar.gz
Merge RubyGems 3.2.2 and Bundler 2.2.2
Diffstat (limited to 'spec/bundler/commands/console_spec.rb')
-rw-r--r--spec/bundler/commands/console_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/bundler/commands/console_spec.rb b/spec/bundler/commands/console_spec.rb
index 6f1e96261e..aa76096e3d 100644
--- a/spec/bundler/commands/console_spec.rb
+++ b/spec/bundler/commands/console_spec.rb
@@ -55,10 +55,10 @@ RSpec.describe "bundle console", :bundler => "< 3", :readline => true do
it "uses IRB as default console" do
bundle "console" do |input, _, _|
- input.puts("__method__")
+ input.puts("__FILE__")
input.puts("exit")
end
- expect(out).to include(":irb_binding")
+ expect(out).to include("(irb)")
end
it "starts another REPL if configured as such" do
@@ -80,10 +80,10 @@ RSpec.describe "bundle console", :bundler => "< 3", :readline => true do
# make sure pry isn't there
bundle "console" do |input, _, _|
- input.puts("__method__")
+ input.puts("__FILE__")
input.puts("exit")
end
- expect(out).to include(":irb_binding")
+ expect(out).to include("(irb)")
end
it "doesn't load any other groups" do