diff options
author | Tim Smith <tsmith@chef.io> | 2016-11-18 12:00:47 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2016-12-01 10:58:06 -0800 |
commit | 3b65f582afe867180573313db3eb6450abf1da9b (patch) | |
tree | 4eadf04c5959ad39cb56e150f7fa510925b32168 /spec/functional/plugins/powershell_spec.rb | |
parent | 5f43d30a38cee0a87c479988283a6bd934c07d01 (diff) | |
download | ohai-rubocop_rspec.tar.gz |
rspec-rubocop autofix the specsrubocop_rspec
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/functional/plugins/powershell_spec.rb')
-rw-r--r-- | spec/functional/plugins/powershell_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/functional/plugins/powershell_spec.rb b/spec/functional/plugins/powershell_spec.rb index 865bb850..affc2ed9 100644 --- a/spec/functional/plugins/powershell_spec.rb +++ b/spec/functional/plugins/powershell_spec.rb @@ -22,10 +22,10 @@ describe Ohai::System, "languages plugin" do VERSION_MATCHING_REGEX = /^(?:[\d]+\.)+[\d]+$/ describe "powershell plugin", :windows_only do RSpec.shared_examples "a version looking thing" do - it "should be present" do + it "is present" do expect(subject).not_to be_nil end - it "should look like a version" do + it "looks like a version" do expect(subject).to match(VERSION_MATCHING_REGEX) end end @@ -37,7 +37,7 @@ describe Ohai::System, "languages plugin" do subject { @plugin[:languages][:powershell] } - it "should have information about powershell" do + it "has information about powershell" do expect(subject).not_to be_nil end |