diff options
author | adamedx <adamed@opscode.com> | 2013-06-23 23:13:03 -0700 |
---|---|---|
committer | adamedx <adamed@opscode.com> | 2013-06-25 06:05:11 -0700 |
commit | 348c3dd86eb77e58e439cff780c5fd86c12daef7 (patch) | |
tree | 5d799b2cc506fa69ce95fb756d7f085eb9a7c5e6 /spec/unit/provider/powershell_spec.rb | |
parent | 843becc1c3f8ccd941db19450ccb7bbb9ca5f96f (diff) | |
download | chef-348c3dd86eb77e58e439cff780c5fd86c12daef7.tar.gz |
OC-8337: Architecture functional test coverage
Diffstat (limited to 'spec/unit/provider/powershell_spec.rb')
-rw-r--r-- | spec/unit/provider/powershell_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/provider/powershell_spec.rb b/spec/unit/provider/powershell_spec.rb index 038de47742..15ad9a1353 100644 --- a/spec/unit/provider/powershell_spec.rb +++ b/spec/unit/provider/powershell_spec.rb @@ -17,7 +17,7 @@ # require 'spec_helper' -describe Chef::Provider::Powershell, "action_run" do +describe Chef::Provider::PowershellScript, "action_run" do before(:each) do @node = Chef::Node.new @@ -26,9 +26,9 @@ describe Chef::Provider::Powershell, "action_run" do @node.default["kernel"][:machine] = :x86_64.to_s @run_context = Chef::RunContext.new(@node, {}, @events) - @new_resource = Chef::Resource::Powershell.new('run some powershell code', @run_context) + @new_resource = Chef::Resource::PowershellScript.new('run some powershell code', @run_context) - @provider = Chef::Provider::Powershell.new(@new_resource, @run_context) + @provider = Chef::Provider::PowershellScript.new(@new_resource, @run_context) end it "should set the -command flag as the last flag" do |