diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 4 | ||||
-rw-r--r-- | spec/unit/chef_fs/config_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/chef_fs/data_handler/data_bag_item_data_handler.rb | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 5766af8954..b0a56f4b7f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -68,7 +68,7 @@ end # If you want to load anything into the testing environment # without versioning it, add it to spec/support/local_gems.rb -require "spec/support/local_gems.rb" if File.exist?(File.join(File.dirname(__FILE__), "support", "local_gems.rb")) +require "spec/support/local_gems" if File.exist?(File.join(File.dirname(__FILE__), "support", "local_gems.rb")) # Explicitly require spec helpers that need to load first require "spec/support/platform_helpers" @@ -309,8 +309,6 @@ RSpec.configure do |config| end require "webrick/utils" -require "thread" - # Webrick uses a centralized/synchronized timeout manager. It works by # starting a thread to check for timeouts on an interval. The timeout # checker thread cannot be stopped or canceled in any easy way, and it diff --git a/spec/unit/chef_fs/config_spec.rb b/spec/unit/chef_fs/config_spec.rb index 848e789d3c..fc44374ae7 100644 --- a/spec/unit/chef_fs/config_spec.rb +++ b/spec/unit/chef_fs/config_spec.rb @@ -18,7 +18,7 @@ require "spec_helper" require "chef/exceptions" -require "lib/chef/chef_fs/config.rb" +require "lib/chef/chef_fs/config" describe Chef::ChefFS::Config do describe "initialize" do diff --git a/spec/unit/chef_fs/data_handler/data_bag_item_data_handler.rb b/spec/unit/chef_fs/data_handler/data_bag_item_data_handler.rb index a0c7d540ec..b85d811003 100644 --- a/spec/unit/chef_fs/data_handler/data_bag_item_data_handler.rb +++ b/spec/unit/chef_fs/data_handler/data_bag_item_data_handler.rb @@ -17,7 +17,7 @@ # require "spec_helper" -require "lib/chef/chef_fs/data_handler/data_bag_item_data_handler.rb" +require "lib/chef/chef_fs/data_handler/data_bag_item_data_handler" class TestDataBag < Mash attr_accessor :name |