Improve cli layout test expectations (UAT)
This commit is contained in:
parent
01d9bdb3b3
commit
c394fee2a6
@ -4,12 +4,14 @@ Feature: layout CLI option
|
|||||||
Given a file named layout.rb with:
|
Given a file named layout.rb with:
|
||||||
"""
|
"""
|
||||||
class MyLayout
|
class MyLayout
|
||||||
def register _; end
|
def register *_
|
||||||
|
puts 'testing_cli_layout'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
"""
|
"""
|
||||||
When I run uhwm with option -v -r./layout -l MyLayout
|
When I run uhwm with options -r./layout -l MyLayout
|
||||||
Then the output must match /layout.+mylayout/i
|
Then the output must contain "testing_cli_layout"
|
||||||
|
|
||||||
Scenario: resolves layout class from the root namespace
|
Scenario: resolves layout class from the root namespace
|
||||||
When I run uhwm with option -v -l Layout
|
When I run uhwm with option -l Layout
|
||||||
Then the output must contain "uninitialized constant Layout"
|
Then the output must contain "uninitialized constant Layout"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user