diff options
| author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-29 18:42:40 -0800 |
|---|---|---|
| committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-29 18:42:40 -0800 |
| commit | e42e6fe2d0c971882451d27c986b9930de7d2ffe (patch) | |
| tree | c52bf04ecf3d870298a05a30dfe05d2d3c8335d3 /spec/unit/lwrp_spec.rb | |
| parent | 647d75df3caa7172754d9dfc2f9fe767aeb91857 (diff) | |
| download | chef-e42e6fe2d0c971882451d27c986b9930de7d2ffe.tar.gz | |
remove some more deprecation warnings
Diffstat (limited to 'spec/unit/lwrp_spec.rb')
| -rw-r--r-- | spec/unit/lwrp_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/lwrp_spec.rb b/spec/unit/lwrp_spec.rb index 9e56b9fe1c..0e0ea5dbb7 100644 --- a/spec/unit/lwrp_spec.rb +++ b/spec/unit/lwrp_spec.rb @@ -179,7 +179,7 @@ describe "LWRP" do end it "should create a method for each attribute" do - new_resource = double("new resource", :null_object=>true) + new_resource = double("new resource").as_null_object Chef::Provider::LwrpBuckPasser.new(nil, new_resource).methods.map{|m|m.to_sym}.should include(:action_pass_buck) Chef::Provider::LwrpThumbTwiddler.new(nil, new_resource).methods.map{|m|m.to_sym}.should include(:action_twiddle_thumbs) end |
