mirror of
https://github.com/inspec/inspec
synced 2024-11-22 12:43:07 +00:00
Singularize the fetchers directory name
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
7807c3fa01
commit
d9f55bf85c
12 changed files with 10 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
|||
require "uri"
|
||||
require "inspec/fetcher"
|
||||
require "inspec/fetchers/url"
|
||||
require "inspec/fetcher/url"
|
||||
|
||||
# InSpec Target Helper for Supermarket
|
||||
module Supermarket
|
||||
|
|
|
@ -38,9 +38,9 @@ module Inspec
|
|||
end
|
||||
|
||||
# TODO: remove. require up, not down.
|
||||
require "inspec/fetchers/local"
|
||||
require "inspec/fetchers/url"
|
||||
require "inspec/fetchers/git"
|
||||
require "inspec/fetcher/local"
|
||||
require "inspec/fetcher/url"
|
||||
require "inspec/fetcher/git"
|
||||
|
||||
# TODO: Remove in 4.0 when Compliance fetcher plugin is created
|
||||
require "plugins/inspec-compliance/lib/inspec-compliance/api"
|
||||
|
|
|
@ -228,7 +228,7 @@ module Inspec
|
|||
end
|
||||
|
||||
def eval_with_virtual_profile(command)
|
||||
require "inspec/fetchers/mock"
|
||||
require "inspec/fetcher/mock"
|
||||
add_target({ "inspec.yml" => "name: inspec-shell" })
|
||||
our_profile = @target_profiles.first
|
||||
ctx = our_profile.runner_context
|
||||
|
|
|
@ -154,7 +154,7 @@ class Minitest::Test
|
|||
|
||||
def unmock(&blk)
|
||||
# eg: resource = unmock { group "staff" }
|
||||
require "inspec/fetchers/mock"
|
||||
require "inspec/fetcher/mock"
|
||||
require "inspec/runner"
|
||||
|
||||
# TODO: there is WAY too much magic going on in here
|
||||
|
|
|
@ -2,7 +2,7 @@ require "helper"
|
|||
require "inspec/config"
|
||||
require "inspec/profile"
|
||||
require "inspec/runner_mock"
|
||||
require "inspec/fetchers/mock"
|
||||
require "inspec/fetcher/mock"
|
||||
|
||||
describe "controls" do
|
||||
def load(content)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require "helper"
|
||||
require "inspec/fetchers/mock"
|
||||
require "inspec/fetcher/mock"
|
||||
|
||||
describe Inspec::Fetcher::Mock do
|
||||
let(:fetcher) { Inspec::Fetcher::Mock }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require "helper"
|
||||
require "inspec/fetcher" # TODO: require fetchers/url directly
|
||||
require "inspec/fetcher" # TODO: require fetcher/url directly
|
||||
|
||||
describe Inspec::Fetcher::Url do
|
||||
it "registers with the fetchers registry" do
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
require "helper"
|
||||
require "inspec/secrets"
|
||||
require "inspec/runner"
|
||||
require "inspec/fetchers/mock"
|
||||
require "inspec/fetcher/mock"
|
||||
|
||||
describe Inspec::Runner do
|
||||
let(:runner) { Inspec::Runner.new({ command_runner: :generic, reporter: [] }) }
|
||||
|
|
Loading…
Reference in a new issue