Skip to content

Commit

Permalink
Added specs for CLI::Command (issue #38).
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jun 5, 2024
1 parent cd63193 commit 52d05b5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions spec/cli/command_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
require 'spec_helper'
require 'ronin/recon/cli/command'

describe Ronin::Recon::CLI::Command do
it { expect(described_class).to be < Ronin::Core::CLI::Command }

it "must set .man_dir" do
expect(described_class.man_dir).to eq(File.join(Ronin::Recon::ROOT,'man'))
end

it "must set .bug_report_rul" do
expect(described_class.bug_report_url).to eq('https://github.com/ronin-rb/ronin-recon/issues/new')
end
end

0 comments on commit 52d05b5

Please sign in to comment.