summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorOlle Jonsson <olle.jonsson@gmail.com>2017-02-10 14:08:18 +0100
committerOlle Jonsson <olle.jonsson@gmail.com>2017-02-10 14:10:52 +0100
commit8e0ffab3967862cdffda3f2088db92deda695b32 (patch)
tree267c7d2a541995625852e3319812bc53de5684bb /features
parent67a63735c31db1c4b01aa7180f1cebb9bb7fbd6c (diff)
downloadmixlib-log-8e0ffab3967862cdffda3f2088db92deda695b32.tar.gz
Travis: lint, fix build, newer Rubies
Obvious fix. Signed-off-by: Olle Jonsson <olle.jonsson@gmail.com>
Diffstat (limited to 'features')
-rw-r--r--features/steps/log.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/log.rb b/features/steps/log.rb
index e16c2d3..615cd94 100644
--- a/features/steps/log.rb
+++ b/features/steps/log.rb
@@ -39,9 +39,9 @@ end
Then /^the regex '(.+)' should be logged$/ do |regex_string|
regex = Regexp.new(regex_string, Regexp::MULTILINE)
- regex.match(@output).should_not == nil
+ expect(regex.match(@output)).not_to be_nil
end
Then /^nothing should be logged$/ do
- @output.should == ""
+ expect(@output).to eq ""
end