]> nos-oignons.net Git - gestion-adh.git/blob - features/step_definitions/commands.rb
Start implementing list-emails
[gestion-adh.git] / features / step_definitions / commands.rb
1 When /^j'exécute list\-emails$/ do
2   run_simple 'list-emails'
3 end
4
5 Then /^je ne dois pas avoir eu d'erreur$/ do
6   assert_exit_status(0)
7 end
8
9 Then /^je dois voir comme erreur "(.*?)"$/ do |expected|
10   assert_failing_with(expected)
11 end
12
13 Then /^la sortie doit-être vide$/ do
14   expect(all_output).to be_empty
15 end