diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/cookbook/gem_installer_spec.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/spec/unit/cookbook/gem_installer_spec.rb b/spec/unit/cookbook/gem_installer_spec.rb index 91e6959331..b7c8db514a 100644 --- a/spec/unit/cookbook/gem_installer_spec.rb +++ b/spec/unit/cookbook/gem_installer_spec.rb @@ -22,7 +22,14 @@ describe Chef::Cookbook::GemInstaller do :cookbook, metadata: double( :metadata, - gems: [["httpclient", ">= 1.0"]] + gems: [["httpclient", ">= 1.0", { "git" => "https://github.com/nahi/httpclient" }]] + ) + ), + test4: double( + :cookbook, + metadata: double( + :metadata, + gems: [["httpclient", { "path" => "./gems/httpclient" }]] ) ), } |