diff options
author | Seth Vargo <sethvargo@gmail.com> | 2014-07-11 13:49:24 -0400 |
---|---|---|
committer | Seth Vargo <sethvargo@gmail.com> | 2014-07-11 13:49:24 -0400 |
commit | fbbc45178baf6c933380a35dd44278dbc3e4b02f (patch) | |
tree | cb13cdaae948f590365cf8357268d64dc6a0db30 | |
parent | c1e394ec80ac3824a521947cdfc635053bfda16e (diff) | |
download | chef-fbbc45178baf6c933380a35dd44278dbc3e4b02f.tar.gz |
Use Ruby 1.8 style hashes for BC
-rw-r--r-- | spec/unit/lwrp_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/lwrp_spec.rb b/spec/unit/lwrp_spec.rb index f29be2c40c..eaa58bf48c 100644 --- a/spec/unit/lwrp_spec.rb +++ b/spec/unit/lwrp_spec.rb @@ -163,8 +163,8 @@ describe "LWRP" do let(:klass) do Class.new(Chef::Resource::LWRPBase) do self.resource_name = :sample_resource - attribute :food, default: lazy { 'BACON!'*3 } - attribute :drink, default: lazy { |r| "Drink after #{r.food}!"} + attribute :food, :default => lazy { 'BACON!'*3 } + attribute :drink, :default => lazy { |r| "Drink after #{r.food}!"} end end |