Implement Manager#flush

This commit is contained in:
Thibault Jouan
2015-04-17 15:14:48 +00:00
parent 18667e2492
commit 0164b52465
2 changed files with 11 additions and 0 deletions

View File

@@ -82,6 +82,13 @@ module Uh
end
end
describe '#flush' do
it 'flushes the display' do
expect(display).to receive :flush
manager.flush
end
end
describe '#grab_key' do
it 'grabs given key on the display' do
expect(manager.display)