X-Git-Url: https://www.nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/c2e8982b068dc4f47015679ea383a424c4defef1..f6e098c942a89d011c0875783bd0d0db54e4b67a:/features/step_definitions/commands.rb?ds=sidebyside diff --git a/features/step_definitions/commands.rb b/features/step_definitions/commands.rb index ce9c5da..0aec8b6 100644 --- a/features/step_definitions/commands.rb +++ b/features/step_definitions/commands.rb @@ -1,3 +1,5 @@ +#-*- coding: utf-8 -*- + When /^j'exécute list\-emails$/ do run_simple 'list-emails' end @@ -10,8 +12,8 @@ Then /^je dois voir comme erreur "(.*?)"$/ do |expected| assert_failing_with(expected) end -Then /^la sortie doit-être vide$/ do - expect(all_output).to be_empty +Then /^la sortie doit être vide$/ do + assert_exact_output('', all_stdout) end Then /^la sortie doit être:$/ do |expected|