diff options
Diffstat (limited to 'spec/unit')
-rw-r--r-- | spec/unit/data_collector_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/json_compat_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/resource_reporter_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/run_lock_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/scan_access_control_spec.rb | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/spec/unit/data_collector_spec.rb b/spec/unit/data_collector_spec.rb index 5eeeec1498..b26fffb536 100644 --- a/spec/unit/data_collector_spec.rb +++ b/spec/unit/data_collector_spec.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require File.expand_path("../../spec_helper", __FILE__) +require_relative "../spec_helper" require "chef/data_collector" require "socket" diff --git a/spec/unit/json_compat_spec.rb b/spec/unit/json_compat_spec.rb index 38c2c60b2e..c3c017dabb 100644 --- a/spec/unit/json_compat_spec.rb +++ b/spec/unit/json_compat_spec.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require File.expand_path("../../spec_helper", __FILE__) +require_relative "../spec_helper" require "chef/json_compat" describe Chef::JSONCompat do diff --git a/spec/unit/resource_reporter_spec.rb b/spec/unit/resource_reporter_spec.rb index 1d7fd7fc79..775b14ef19 100644 --- a/spec/unit/resource_reporter_spec.rb +++ b/spec/unit/resource_reporter_spec.rb @@ -19,7 +19,7 @@ # limitations under the License. # -require File.expand_path("../../spec_helper", __FILE__) +require_relative "../spec_helper" require "chef/resource_reporter" require "socket" diff --git a/spec/unit/run_lock_spec.rb b/spec/unit/run_lock_spec.rb index 350a0b2c66..1c185e1603 100644 --- a/spec/unit/run_lock_spec.rb +++ b/spec/unit/run_lock_spec.rb @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require File.expand_path("../../spec_helper", __FILE__) +require_relative "../spec_helper" require "chef/client" describe Chef::RunLock do diff --git a/spec/unit/scan_access_control_spec.rb b/spec/unit/scan_access_control_spec.rb index ec3c088b48..fda3534407 100644 --- a/spec/unit/scan_access_control_spec.rb +++ b/spec/unit/scan_access_control_spec.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require File.expand_path("../../spec_helper", __FILE__) +require_relative "../spec_helper" require "chef/scan_access_control" describe Chef::ScanAccessControl do |