summaryrefslogtreecommitdiff
path: root/spec/unit/cookbook/synchronizer_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/cookbook/synchronizer_spec.rb')
-rw-r--r--spec/unit/cookbook/synchronizer_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/cookbook/synchronizer_spec.rb b/spec/unit/cookbook/synchronizer_spec.rb
index 4c6aa0c0ed..31f30c5bf4 100644
--- a/spec/unit/cookbook/synchronizer_spec.rb
+++ b/spec/unit/cookbook/synchronizer_spec.rb
@@ -176,11 +176,11 @@ describe Chef::CookbookSynchronizer do
@cookbook_a_template_default_tempfile = mock("Tempfile for cookbook_a apache.conf.erb template",
:path => "/tmp/cookbook_a_template_default_tempfile")
end
-
+
after do
Chef::Config[:no_lazy_load] = false
end
-
+
it "fetches templates and cookbook files" do
@file_cache.should_receive(:has_key?).
with("cookbooks/cookbook_a/files/default/megaman.conf").
@@ -206,7 +206,7 @@ describe Chef::CookbookSynchronizer do
@file_cache.should_receive(:load).
with("cookbooks/cookbook_a/templates/default/apache2.conf.erb", false).
and_return("/file-cache/cookbooks/cookbook_a/templates/default/apache2.conf.erb")
-
+
@synchronizer.sync_cookbooks
end
end