diff options
Diffstat (limited to 'spec/unit/cookbook/cookbook_version_loader_spec.rb')
-rw-r--r-- | spec/unit/cookbook/cookbook_version_loader_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/cookbook/cookbook_version_loader_spec.rb b/spec/unit/cookbook/cookbook_version_loader_spec.rb index a32eb052af..161b3d0f3d 100644 --- a/spec/unit/cookbook/cookbook_version_loader_spec.rb +++ b/spec/unit/cookbook/cookbook_version_loader_spec.rb @@ -73,6 +73,10 @@ describe Chef::Cookbook::CookbookVersionLoader do expect(loaded_cookbook.file_filenames).to include(full_path("/files/default/remotedir/.a_dotdir/.a_dotfile_in_a_dotdir")) end + it "loads all unignored files, even if they don't match a segment type" do + expect(loaded_cookbook.all_unignored_files).to include(full_path("/spec/spec_helper.rb")) + end + it "should load the metadata for the cookbook" do expect(loaded_cookbook.metadata.name.to_s).to eq("openldap") expect(loaded_cookbook.metadata).to be_a_kind_of(Chef::Cookbook::Metadata) |