X-Git-Url: https://nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/9ef89e25a8f7758e1a3478d0c455c9254dff9112..febcaa4d9fbe691c63473c2129788c0dbbe5cce0:/features/step_definitions/commands.rb diff --git a/features/step_definitions/commands.rb b/features/step_definitions/commands.rb index ce9c5da..54bc747 100644 --- a/features/step_definitions/commands.rb +++ b/features/step_definitions/commands.rb @@ -10,8 +10,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|