summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-07-11 13:58:22 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-07-11 13:58:22 -0700
commita385c71a528370be6a9c74f7716ab71b8d741420 (patch)
tree75d35eeefb5451e01db79b1d628d4a484236b067
parentc603f1b0dba5024485b9b6c53c16dab38d9029f1 (diff)
downloadchef-a385c71a528370be6a9c74f7716ab71b8d741420.tar.gz
fix mixup in the test titles
-rw-r--r--spec/unit/node_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/node_spec.rb b/spec/unit/node_spec.rb
index 6f43c56535..2ac7d61296 100644
--- a/spec/unit/node_spec.rb
+++ b/spec/unit/node_spec.rb
@@ -255,13 +255,13 @@ describe Chef::Node do
expect(node[:snoopy][:is_a_puppy]).to eq(true)
end
- it "should allow you to set an attribute with set_unless" do
+ it "should allow you to set an attribute with set_unless with method_missing but emit a deprecation warning" do
Chef::Config[:treat_deprecation_warnings_as_errors] = false
node.normal_unless.snoopy.is_a_puppy = false
expect(node[:snoopy][:is_a_puppy]).to eq(false)
end
- it "should allow you to set an attribute with set_unless with method_missing but emit a deprecation warning" do
+ it "should allow you to set an attribute with set_unless" do
node.normal_unless[:snoopy][:is_a_puppy] = false
expect(node[:snoopy][:is_a_puppy]).to eq(false)
end