summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-02-26 17:05:03 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2017-02-28 11:19:50 -0800
commit8519b53f84c9848e63a290283f57857788a425fa (patch)
tree0949848f48b9a3ff706bd1d092473400694efb6c
parent7162c001c13d08ac4450dd829da4d501865a9512 (diff)
downloadchef-8519b53f84c9848e63a290283f57857788a425fa.tar.gz
removing a Chef-13 deprecation i sorta disagree with
this seems like entirely fine behavior to me. i don't see the benefit of forcing users to put all their actions on one line. mostly it was vargo and keiser who wanted this gone and since i'm the last one still at Chef i win the argument? Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--spec/unit/lwrp_spec.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/spec/unit/lwrp_spec.rb b/spec/unit/lwrp_spec.rb
index 9700b8ef2b..e167adb04c 100644
--- a/spec/unit/lwrp_spec.rb
+++ b/spec/unit/lwrp_spec.rb
@@ -1,6 +1,6 @@
#
# Author:: Christopher Walters (<cw@chef.io>)
-# Copyright:: Copyright 2009-2016, Chef Software Inc.
+# Copyright:: Copyright 2009-2017, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -324,14 +324,7 @@ describe "LWRP" do
end
end
- def raise_if_deprecated!
- if Chef::VERSION.split(".").first.to_i > 12
- raise "This test should be removed and the associated code should be removed!"
- end
- end
-
it "amends actions when they are already defined" do
- raise_if_deprecated!
expect(child.actions).to eq([:nothing, :eat, :sleep, :drink])
end
end