Skip to content

Commit c9fb08b

Browse files
authored
Merge pull request rapid7#20132 from bcoles/spec-acceptance
spec: acceptance: remove RHOST_REGEX constant
2 parents 9797ef1 + 503d8b8 commit c9fb08b

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

spec/acceptance/ldap_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
RSpec.describe 'LDAP modules' do
44
include_context 'wait_for_expect'
55

6-
RHOST_REGEX = /\d+\.\d+\.\d+\.\d+:\d+/
7-
86
tests = {
97
ldap: {
108
target: {

spec/acceptance/mysql_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
RSpec.describe 'MySQL sessions and MySQL modules' do
44
include_context 'wait_for_expect'
55

6-
RHOST_REGEX = /\d+\.\d+\.\d+\.\d+:\d+/
7-
86
tests = {
97
mysql: {
108
target: {
@@ -49,7 +47,7 @@
4947
lines: {
5048
all: {
5149
required: [
52-
/#{RHOST_REGEX} is running MySQL \d+.\d+.*/
50+
/\d+\.\d+\.\d+\.\d+:\d+ is running MySQL \d+.\d+.*/
5351
]
5452
},
5553
}

spec/acceptance/smb_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
RSpec.describe 'SMB sessions and SMB modules' do
44
include_context 'wait_for_expect'
55

6-
RHOST_REGEX = /\d+\.\d+\.\d+\.\d+:\d+/
7-
86
tests = {
97
smb: {
108
target: {

0 commit comments

Comments
 (0)