Add cucumber scenario for layout CLI option
This commit is contained in:
parent
1e2d423552
commit
1cb7086713
11
features/cli/layout.feature
Normal file
11
features/cli/layout.feature
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user