fix #1008
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# encoding: UTF-8
|
||||
|
||||
require File.expand_path(File.dirname(__FILE__) + '/wpscan_helper')
|
||||
require File.expand_path(File.join(__dir__, 'wpscan_helper'))
|
||||
|
||||
describe WpTarget do
|
||||
subject(:wp_target) { WpTarget.new(target_url, options) }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# encoding: UTF-8
|
||||
|
||||
require File.expand_path(File.dirname(__FILE__) + '/wpscan_helper')
|
||||
require File.expand_path(File.join(__dir__, 'wpscan_helper'))
|
||||
|
||||
describe 'WpscanOptions' do
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ require 'simplecov' if RUBY_VERSION >= '1.9'
|
||||
|
||||
RSpec::Expectations.configuration.warn_about_potential_false_positives = false
|
||||
|
||||
require File.expand_path(File.dirname(__FILE__) + '/../lib/common/common_helper')
|
||||
require File.expand_path(File.join(__dir__, '..', 'lib', 'common', 'common_helper'))
|
||||
|
||||
SPEC_DIR = ROOT_DIR + '/spec'
|
||||
SPEC_LIB_DIR = SPEC_DIR + '/lib'
|
||||
|
||||
Reference in New Issue
Block a user