diff --git a/spec/unit/resource/dsc_resource_spec.rb b/spec/unit/resource/dsc_resource_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/resource/dsc_resource_spec.rb
+++ b/spec/unit/resource/dsc_resource_spec.rb
@@ -70,5 +70,11 @@ describe Chef::Resource::DscResource do
         end
       end
     end
+
+    context 'Powershell DSL methods' do
+      it "responds to :ps_credential" do
+        expect(dsc_test_resource.respond_to?(:ps_credential)).to be true
+      end
+    end
   end
 end
Add spec to check that powershell dsl methods are usable inside dsc_resource