summaryrefslogtreecommitdiff
path: root/spec/unit/application/solo_spec.rb
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2016-02-24 21:18:40 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2016-02-24 22:17:55 -0800
commit158178c3e039f3fcf0726fe3c7873bd80685f787 (patch)
tree58ef4f26f083b7bc053502b2be16d0b922f0c06c /spec/unit/application/solo_spec.rb
parentcbb0f567ba9fa669a43761c6e2452734fa9a3fd5 (diff)
downloadchef-158178c3e039f3fcf0726fe3c7873bd80685f787.tar.gz
Add test for solo.d
This commit refactors the spec to use shared examples as the test for client.d and solo.d is the same. knife.d is a little special so it cannot use this.
Diffstat (limited to 'spec/unit/application/solo_spec.rb')
-rw-r--r--spec/unit/application/solo_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/unit/application/solo_spec.rb b/spec/unit/application/solo_spec.rb
index 4361a2cd33..85799d73db 100644
--- a/spec/unit/application/solo_spec.rb
+++ b/spec/unit/application/solo_spec.rb
@@ -164,4 +164,7 @@ Enable chef-client interval runs by setting `:client_fork = true` in your config
end
end
+ it_behaves_like "an application that loads a dot d" do
+ let(:dot_d_config_name) { :solo_d_dir }
+ end
end