mirror of
https://github.com/inspec/inspec
synced 2024-11-15 01:17:08 +00:00
Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
bbdbc5c6b7
commit
d78acc03ba
3 changed files with 3 additions and 4 deletions
|
@ -4,7 +4,7 @@ require "inspec/globals"
|
|||
require "#{Inspec.src_root}/test/helper"
|
||||
|
||||
# Load (require) the resource library file
|
||||
require_relative "<%= layout == "core" ? "../../../lib/inspec/resources/" : "../../libraries/" %><%= resource_name %>.rb"
|
||||
require_relative "<%= layout == "core" ? "../../../lib/inspec/resources/" : "../../libraries/" %><%= resource_name %>"
|
||||
|
||||
describe Inspec::Resources::<%= class_name %> do
|
||||
it "works correctly with the constructor on the platform" do
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
# https://github.com/inspec/inspec/blob/main/dev-docs/filtertable-usage.md
|
||||
# Consider that page required reading for authoring plural resources.
|
||||
|
||||
|
||||
# Uncomment the below lines to add gems and files required by the resource
|
||||
# require "inspec/utils/filter"
|
||||
# require_relative ""
|
||||
|
|
|
@ -4,7 +4,7 @@ require "inspec/globals"
|
|||
require "#{Inspec.src_root}/test/helper"
|
||||
|
||||
# Load (require) the resource library file
|
||||
require_relative "<%= layout == "core" ? "../../../lib/inspec/resources/" : "../../libraries/" %><%= resource_name %>.rb"
|
||||
require_relative "<%= layout == "core" ? "../../../lib/inspec/resources/" : "../../libraries/" %><%= resource_name %>"
|
||||
|
||||
describe Inspec::Resources::<%= class_name %> do
|
||||
it "works correctly with the constructor on the platform" do
|
||||
|
|
Loading…
Reference in a new issue