summaryrefslogtreecommitdiff
path: root/spec/unit/knife_spec.rb
diff options
context:
space:
mode:
authorTeemu Matilainen <teemu.matilainen@iki.fi>2013-02-22 23:57:33 -0300
committerBryan McLellan <btm@opscode.com>2013-04-11 13:33:53 -0700
commitb1d50b3b86acf033f8ab8a479e4dea9fb0cd131a (patch)
tree098d665a86ccc5ecef519ec4454a2b86566d0a9a /spec/unit/knife_spec.rb
parent12a344037de789623f71ae692b0f818fa6f677f9 (diff)
downloadchef-b1d50b3b86acf033f8ab8a479e4dea9fb0cd131a.tar.gz
[CHEF-3932] Support multiple calls of `Knife.deps`
If a Knife subcommand class were inheriting or including other classes with lazy loading dependencies, a later call to `Knife.deps` overwrote the earlier block. Fix it by collecting the blocks to an array.
Diffstat (limited to 'spec/unit/knife_spec.rb')
0 files changed, 0 insertions, 0 deletions