summaryrefslogtreecommitdiff
path: root/features/steps/log.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/log.rb')
-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