summaryrefslogtreecommitdiff
path: root/spec/unit/mixin
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-06-30 14:12:29 -0600
committerJohn Keiser <john@johnkeiser.com>2015-07-03 13:10:23 -0600
commit901f122c5a906b8f64e8ed1919674ffe9d839bf0 (patch)
treed0003f285b5058440e1c6216612b15256aaff6d9 /spec/unit/mixin
parent88e90f48952d0776b2d2b5f641c3d1b08c1376bb (diff)
downloadchef-901f122c5a906b8f64e8ed1919674ffe9d839bf0.tar.gz
Bring set_or_return behavior back in line with what it used to be
Diffstat (limited to 'spec/unit/mixin')
-rw-r--r--spec/unit/mixin/params_validate_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/mixin/params_validate_spec.rb b/spec/unit/mixin/params_validate_spec.rb
index 85e1c1abab..2a38972f05 100644
--- a/spec/unit/mixin/params_validate_spec.rb
+++ b/spec/unit/mixin/params_validate_spec.rb
@@ -21,6 +21,8 @@ require 'spec_helper'
class TinyClass
include Chef::Mixin::ParamsValidate
+ attr_reader :name
+
def music(is_good=true)
is_good
end