diff options
Diffstat (limited to 'spec/unit/provider')
-rw-r--r-- | spec/unit/provider/ifconfig_spec.rb | 1 | ||||
-rw-r--r-- | spec/unit/provider/package/smartos_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/provider/service/redhat_spec.rb | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/spec/unit/provider/ifconfig_spec.rb b/spec/unit/provider/ifconfig_spec.rb index 88fa5883f2..668a3ca9d9 100644 --- a/spec/unit/provider/ifconfig_spec.rb +++ b/spec/unit/provider/ifconfig_spec.rb @@ -16,7 +16,6 @@ # limitations under the License. # -# require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "spec_helper")) require "spec_helper" require "chef/exceptions" diff --git a/spec/unit/provider/package/smartos_spec.rb b/spec/unit/provider/package/smartos_spec.rb index 91ccb87211..5d815a579e 100644 --- a/spec/unit/provider/package/smartos_spec.rb +++ b/spec/unit/provider/package/smartos_spec.rb @@ -17,7 +17,7 @@ # limitations under the License. # -require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "..", "spec_helper")) +require "spec_helper" require "ostruct" describe Chef::Provider::Package::SmartOS, "load_current_resource" do diff --git a/spec/unit/provider/service/redhat_spec.rb b/spec/unit/provider/service/redhat_spec.rb index b965183d14..9795abf771 100644 --- a/spec/unit/provider/service/redhat_spec.rb +++ b/spec/unit/provider/service/redhat_spec.rb @@ -16,7 +16,7 @@ # limitations under the License. # -require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "..", "spec_helper")) +require "spec_helper" require "ostruct" shared_examples_for "define_resource_requirements_common" do |