diff options
author | Tim Smith <tsmith@chef.io> | 2018-03-06 10:38:39 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-06 10:38:39 -0800 |
commit | 011db28d6c3026ac41b9c519a87643d70ecf9be5 (patch) | |
tree | 636e072786c5aa143ce3cd964da1548f5b1ea818 /spec/unit/dsl | |
parent | dfa786b965a649349ef77def4c22af454c33ccb0 (diff) | |
download | ohai-011db28d6c3026ac41b9c519a87643d70ecf9be5.tar.gz |
Resolve the last of the chefstyle warningsgreen_travis
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/dsl')
-rw-r--r-- | spec/unit/dsl/plugin_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/dsl/plugin_spec.rb b/spec/unit/dsl/plugin_spec.rb index 5000b112..c0ee6cf5 100644 --- a/spec/unit/dsl/plugin_spec.rb +++ b/spec/unit/dsl/plugin_spec.rb @@ -435,13 +435,13 @@ describe Ohai::DSL::Plugin::VersionVII do end it "collects attributes across multiple plugin files" do - plugin = Ohai.plugin(:Test) { provides("one") } + plugin = Ohai.plugin(:Test) { provides("one") } # rubocop: disable Lint/UselessAssignment plugin = Ohai.plugin(:Test) { provides("two", "three") } expect(plugin.provides_attrs).to eql(%w{one two three}) end it "collects unique attributes" do - plugin = Ohai.plugin(:Test) { provides("one") } + plugin = Ohai.plugin(:Test) { provides("one") } # rubocop: disable Lint/UselessAssignment plugin = Ohai.plugin(:Test) { provides("one", "two") } expect(plugin.provides_attrs).to eql(%w{one two}) end @@ -468,13 +468,13 @@ describe Ohai::DSL::Plugin::VersionVII do end it "collects dependencies across multiple plugin files" do - plugin = Ohai.plugin(:Test) { depends("one") } + plugin = Ohai.plugin(:Test) { depends("one") } # rubocop: disable Lint/UselessAssignment plugin = Ohai.plugin(:Test) { depends("two", "three") } expect(plugin.depends_attrs).to eql(%w{one two three}) end it "collects unique attributes" do - plugin = Ohai.plugin(:Test) { depends("one") } + plugin = Ohai.plugin(:Test) { depends("one") } # rubocop: disable Lint/UselessAssignment plugin = Ohai.plugin(:Test) { depends("one", "two") } expect(plugin.depends_attrs).to eql(%w{one two}) end |