Sha256: 383891d6dafe0a1350ac9322a1ea7638048e380d0f28c38028e4b11e9ed58946
Contents?: true
Size: 482 Bytes
Versions: 1
Compression:
Stored size: 482 Bytes
Contents
shared_examples 'clickable backend' do describe 'interaction with the swt app object' do it 'adds a listener for the MouseDown event when click is called' do subject.click proc {} expect(click_listener).to have_received(:add_click_listener).at_least(1) end it 'adds a listener for the MouseUp event when release is called' do subject.release proc {} expect(click_listener).to have_received(:add_release_listener).at_least(1) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-swt-4.0.0.pre7 | spec/shoes/swt/shared_examples/clickable.rb |