features/step_definitions/html_steps.rb in qipowl-0.9.0 vs features/step_definitions/html_steps.rb in qipowl-0.9.1

- old
+ new

@@ -1,11 +1,17 @@ +# encoding: utf-8 + Then(/^the result should equal to "(.*?)"$/) do |result| expect(@result.carriage).to eq(result) end Then(/^the result should equal to$/) do |result| expect(@result).to eq(result) end Then(/^the result should match "(.*?)"$/) do |result| expect(@result).to match(result) +end + +Then(/^the result should NOT equal to "(.*?)"$/) do |result| + expect(@result.carriage).not_to eq(result) end