projects
/
gestion-adh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Continue implementing list-emails
[gestion-adh.git]
/
features
/
step_definitions
/
commands.rb
diff --git
a/features/step_definitions/commands.rb
b/features/step_definitions/commands.rb
index ae6d798a4369ce2d015ba5c23385d186b120a6dd..ce9c5daa6c89e7756a69ea90fac3f7c29bc9e565 100644
(file)
--- a/
features/step_definitions/commands.rb
+++ b/
features/step_definitions/commands.rb
@@
-13,3
+13,8
@@
end
Then /^la sortie doit-être vide$/ do
expect(all_output).to be_empty
end
+
+Then /^la sortie doit être:$/ do |expected|
+ # add an extra line feed for nice scenario
+ assert_exact_output(expected + "\n", all_stdout)
+end