Modify manager to handle configure request events

This commit is contained in:
Thibault Jouan
2015-04-20 05:30:16 +00:00
parent 1f7b2269c7
commit 84d92798a0
2 changed files with 15 additions and 0 deletions

View File

@@ -241,6 +241,17 @@ module Uh
manager.handle event
end
end
context 'when configure request event is given' do
let(:event) do
double 'event', type: :configure_request, window: :window
end
it 'configure the event window' do
expect(manager).to receive(:configure).with :window
manager.handle event
end
end
end
end
end