From 3b92c34115090484dd8cd15f8a285196ddd29a73 Mon Sep 17 00:00:00 2001 From: raj921 Date: Mon, 9 Dec 2024 15:42:17 +0530 Subject: [PATCH] Added spec for CLI::Commands::New::HttpListener (issue #252) --- spec/cli/commands/new/http_listener_spec.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 spec/cli/commands/new/http_listener_spec.rb diff --git a/spec/cli/commands/new/http_listener_spec.rb b/spec/cli/commands/new/http_listener_spec.rb new file mode 100644 index 000000000..ad827311a --- /dev/null +++ b/spec/cli/commands/new/http_listener_spec.rb @@ -0,0 +1,12 @@ +require 'spec_helper' +require 'ronin/cli/commands/new/http_listener' + +describe Ronin::CLI::Commands::New::HttpListener do + describe "command_name" do + subject { described_class } + + it do + expect(subject.command_name).to eq('http-listener') + end + end +end