summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2018-05-01 15:51:02 -0700
committerNoah Kantrowitz <noah@coderanger.net>2018-05-01 15:51:02 -0700
commit754bb43fac02fa10a79913ab085785f86daa9559 (patch)
tree9749bd0e549357e375d5ff5f65d57ebb60c241e9
parentb22c6add10d641cce298ae80cc0526f977aec6ac (diff)
downloadohai-754bb43fac02fa10a79913ab085785f86daa9559.tar.gz
Feed the rubocop.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
-rw-r--r--spec/unit/plugins/shard_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/plugins/shard_spec.rb b/spec/unit/plugins/shard_spec.rb
index 6a7d6f5c..6e60711f 100644
--- a/spec/unit/plugins/shard_spec.rb
+++ b/spec/unit/plugins/shard_spec.rb
@@ -41,7 +41,7 @@ describe Ohai::System, "shard plugin" do
plugin["dmi"] = { "system" => {} }
plugin["dmi"]["system"]["uuid"] = uuid
plugin["dmi"]["system"]["serial_number"] = serial
- plugin["fips"] = {"kernel" => {"enabled" => fips}}
+ plugin["fips"] = { "kernel" => { "enabled" => fips } }
allow(plugin).to receive(:collect_os).and_return(:linux)
end
@@ -61,8 +61,8 @@ describe Ohai::System, "shard plugin" do
it "should provide a shard with a configured algorithm" do
Ohai.config[:plugin][:shard_seed][:digest_algorithm] = "sha256"
- expect(Digest::MD5).to_not receive(:new)
- expect(subject).to eq(117055036)
+ expect(Digest::MD5).to_not receive(:new)
+ expect(subject).to eq(117055036)
end
context "with FIPS mode enabled" do