Skip to content

Commit f45628c

Browse files
moozzipostmodern
authored andcommitted
Add specs for Ronin::CLI::Commands::New::{Exploit|WebApp|WebServer|WebSpider}
1 parent a59d9c1 commit f45628c

File tree

4 files changed

+48
-0
lines changed

4 files changed

+48
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
require 'spec_helper'
2+
require 'ronin/cli/commands/new/exploit'
3+
4+
describe Ronin::CLI::Commands::New::Exploit do
5+
describe "command_name" do
6+
subject { described_class }
7+
8+
it do
9+
expect(subject.command_name).to eq('exploit')
10+
end
11+
end
12+
end
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
require 'spec_helper'
2+
require 'ronin/cli/commands/new/web_app'
3+
4+
describe Ronin::CLI::Commands::New::WebApp do
5+
describe "command_name" do
6+
subject { described_class }
7+
8+
it do
9+
expect(subject.command_name).to eq('web-app')
10+
end
11+
end
12+
end
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
require 'spec_helper'
2+
require 'ronin/cli/commands/new/web_server'
3+
4+
describe Ronin::CLI::Commands::New::WebServer do
5+
describe "command_name" do
6+
subject { described_class }
7+
8+
it do
9+
expect(subject.command_name).to eq('web-server')
10+
end
11+
end
12+
end
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
require 'spec_helper'
2+
require 'ronin/cli/commands/new/web_spider'
3+
4+
describe Ronin::CLI::Commands::New::WebSpider do
5+
describe "command_name" do
6+
subject { described_class }
7+
8+
it do
9+
expect(subject.command_name).to eq('web-spider')
10+
end
11+
end
12+
end

0 commit comments

Comments
 (0)