X-Git-Url: https://nos-oignons.fr/gitweb/gestion-adh.git/blobdiff_plain/5609c60f9b3b2d82d629c8d13f676ff167920df6..8bbb07a1bc5db944ba95fa5951ed40c3c1b968aa:/features/step_definitions/commands.rb diff --git a/features/step_definitions/commands.rb b/features/step_definitions/commands.rb new file mode 100644 index 0000000..d069730 --- /dev/null +++ b/features/step_definitions/commands.rb @@ -0,0 +1,7 @@ +Then /^je ne dois pas avoir eu d'erreur$/ do + assert_exit_status(0) +end + +Then /^je dois voir comme erreur "(.*?)"$/ do |expected| + assert_failing_with(expected) +end