Improve cli require cucumber scenario

This commit is contained in:
Thibault Jouan 2015-04-28 09:09:06 +00:00
parent 258812013b
commit daa028e794

View File

@ -1,5 +1,9 @@
Feature: require CLI option Feature: require CLI option
Scenario: requires a ruby feature Scenario: requires a ruby feature
When I run uhwm with option -v -r abbrev Given a file named my_feature.rb with:
Then the output must match /load.+abbrev.+ruby feature/i """
puts 'testing_feature_load'
"""
When I run uhwm with option -r ./my_feature.rb
Then the output must contain "testing_feature_load"