Sha256: b143393af372f994486af2589e80fda213218c25a2cc3850f1615442a55a3382
Contents?: true
Size: 490 Bytes
Versions: 4
Compression:
Stored size: 490 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.new {} 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.new {} expect(click_listener).to have_received(:add_release_listener).at_least(1) end end end
Version data entries
4 entries across 4 versions & 1 rubygems