Implement ruby feature loading (-r CLI option)

This commit is contained in:
Thibault Jouan
2015-04-10 02:51:45 +00:00
parent 1467425407
commit 791c159d7a
4 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
Feature: ruby feature require CLI option
Scenario: requires a ruby feature
When I run uhwm with option -v -r abbrev
Then the current output must match /load.+abbrev.+ruby feature/i

View File

@@ -23,6 +23,7 @@ options:
-h, --help print this message
-v, --version enable verbose mode
-d, --debug enable debug mode
-r, --require PATH require ruby feature
eoh
end