Register a Layout with display information

This commit is contained in:
Thibault Jouan
2015-04-10 06:12:08 +00:00
parent b9b2bff853
commit de3fca228e
3 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
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