diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2018-05-01 15:51:02 -0700 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2018-05-01 15:51:02 -0700 |
commit | 754bb43fac02fa10a79913ab085785f86daa9559 (patch) | |
tree | 9749bd0e549357e375d5ff5f65d57ebb60c241e9 /spec | |
parent | b22c6add10d641cce298ae80cc0526f977aec6ac (diff) | |
download | ohai-754bb43fac02fa10a79913ab085785f86daa9559.tar.gz |
Feed the rubocop.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/plugins/shard_spec.rb | 6 |
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 |