From 1cb708671334540a76a5c984e4794af624146915 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Sat, 18 Apr 2015 03:26:24 +0000 Subject: [PATCH] Add cucumber scenario for layout CLI option --- features/cli/layout.feature | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 features/cli/layout.feature diff --git a/features/cli/layout.feature b/features/cli/layout.feature new file mode 100644 index 0000000..3512939 --- /dev/null +++ b/features/cli/layout.feature @@ -0,0 +1,11 @@ +Feature: layout CLI option + + Scenario: specifies the layout class + Given a file named layout.rb with: + """ + class MyLayout + def register _; end + end + """ + When I run uhwm with option -v -r./layout -l MyLayout + Then the output must match /layout.+mylayout/i