From daa028e7944bddd3796b355335b606ffdd6d88df Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Tue, 28 Apr 2015 09:09:06 +0000 Subject: [PATCH] Improve cli require cucumber scenario --- features/cli/require.feature | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/features/cli/require.feature b/features/cli/require.feature index 96171f5..83e532e 100644 --- a/features/cli/require.feature +++ b/features/cli/require.feature @@ -1,5 +1,9 @@ Feature: require CLI option Scenario: requires a ruby feature - When I run uhwm with option -v -r abbrev - Then the output must match /load.+abbrev.+ruby feature/i + Given a file named my_feature.rb with: + """ + puts 'testing_feature_load' + """ + When I run uhwm with option -r ./my_feature.rb + Then the output must contain "testing_feature_load"