diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-08-21 08:51:01 -0700 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-08-25 09:04:44 -0700 |
commit | c8388d72d9afe3879566528a813c20cbf64f40be (patch) | |
tree | 31167efa4c0d67199b6fb78464b9aff5519d7c69 | |
parent | 6bd15a82bab013538826fc74a0c9dd7946e7dd7c (diff) | |
download | chef-c8388d72d9afe3879566528a813c20cbf64f40be.tar.gz |
Test to make sure dsc_script has ps_credential helper
-rw-r--r-- | spec/unit/resource/dsc_script_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/resource/dsc_script_spec.rb b/spec/unit/resource/dsc_script_spec.rb index 4361b35b91..1fa865a2d5 100644 --- a/spec/unit/resource/dsc_script_spec.rb +++ b/spec/unit/resource/dsc_script_spec.rb @@ -70,6 +70,10 @@ describe Chef::Resource::DscScript do expect(dsc_test_resource.configuration_data_script).to eq(configuration_data_script) end + it "has the ps_credential helper method" do + expect(dsc_test_resource).to respond_to(:ps_credential) + end + context "when calling imports" do let(:module_name) { 'FooModule' } let(:module_name_b) { 'BarModule' } |