From d27df99cea495accf714ca31c34357989f4cf8b4 Mon Sep 17 00:00:00 2001 From: Postmodern Date: Wed, 5 Jun 2024 14:08:36 -0700 Subject: [PATCH] Added missing spec for `CLI::Commands::Irb#run` (issue #38). --- spec/cli/commands/irb_spec.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spec/cli/commands/irb_spec.rb b/spec/cli/commands/irb_spec.rb index 7747203..278c54c 100644 --- a/spec/cli/commands/irb_spec.rb +++ b/spec/cli/commands/irb_spec.rb @@ -4,4 +4,12 @@ describe Ronin::Recon::CLI::Commands::Irb do include_examples "man_page" + + describe "#run" do + it "must call CLI::RubyShell.start" do + expect(Ronin::Recon::CLI::RubyShell).to receive(:start) + + subject.run + end + end end