diff options
Diffstat (limited to 'spec/unit/decorator/lazy_spec.rb')
-rw-r--r-- | spec/unit/decorator/lazy_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/decorator/lazy_spec.rb b/spec/unit/decorator/lazy_spec.rb index 4ea8301b63..cdfc8e42c1 100644 --- a/spec/unit/decorator/lazy_spec.rb +++ b/spec/unit/decorator/lazy_spec.rb @@ -1,6 +1,6 @@ # # Author:: Lamont Granquist (<lamont@chef.io>) -# Copyright:: Copyright 2015-2016, Chef Software Inc. +# Copyright:: Copyright (c) Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ require "spec_helper" describe Chef::Decorator::Lazy do let(:decorator) do @a = 0 - Chef::Decorator::Lazy.new { @a = @a + 1 } + Chef::Decorator::Lazy.new { @a += 1 } end it "decorates an object" do |