Skip to content

Commit

Permalink
Add spec for CLI::Commands::New::Exploit (issue ronin-rb#252)
Browse files Browse the repository at this point in the history
Added a basic spec file that verifies the command_name matches
the file name for the Exploit command class.
  • Loading branch information
raj921 committed Dec 8, 2024
1 parent 8654a4d commit c6c12e2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spec/cli/commands/new/exploit_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
require 'spec_helper'
require 'ronin/cli/commands/new/exploit'

describe Ronin::CLI::Commands::New::Exploit do
describe "command_name" do
subject { described_class }

it do
expect(subject.command_name).to eq('exploit')
end
end
end

0 comments on commit c6c12e2

Please sign in to comment.