14 lines
363 B
Gherkin
14 lines
363 B
Gherkin
Feature: layout registration
|
|
|
|
Scenario: sends the #register message to the layout with the display
|
|
Given a file named layout.rb with:
|
|
"""
|
|
class Layout
|
|
def register display
|
|
puts display
|
|
end
|
|
end
|
|
"""
|
|
When I run uhwm with option -r./layout -l Layout
|
|
Then the current output must contain current display
|