summaryrefslogtreecommitdiff
path: root/chef/spec/unit/provider/ruby_block_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'chef/spec/unit/provider/ruby_block_spec.rb')
-rw-r--r--chef/spec/unit/provider/ruby_block_spec.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/chef/spec/unit/provider/ruby_block_spec.rb b/chef/spec/unit/provider/ruby_block_spec.rb
index 9803f17253..7efb4c7fcd 100644
--- a/chef/spec/unit/provider/ruby_block_spec.rb
+++ b/chef/spec/unit/provider/ruby_block_spec.rb
@@ -34,23 +34,5 @@ describe Chef::Provider::RubyBlock, "initialize" do
$evil_global_evil_laugh.should == :mwahahaha
@new_resource.should be_updated
end
-
- it "should call why-run safe blocks in whyrun mode" do
- Chef::Config[:why_run] = true
- @new_resource.whyrun_safe(true)
- @provider.run_action(:create)
- $evil_global_evil_laugh.should == :mwahahaha
- @new_resource.should be_updated
- Chef::Config[:why_run] = false
- end
-
- it "should not call non-why-run safe blocks in whyrun mode" do
- Chef::Config[:why_run] = true
- @provider.run_action(:create)
- $evil_global_evil_laugh.should == :wahwah
- @new_resource.should be_updated
- Chef::Config[:why_run] = false
- end
-
end