Sha256: c3e8a273e565ed3294fb6b9b6f54cb78f913d7b7b45dbe9962d914c623c6d4b2
Contents?: true
Size: 469 Bytes
Versions: 3
Compression:
Stored size: 469 Bytes
Contents
shared_examples "buttons" do it "calls set_focus when focus is called" do expect(real).to receive(:set_focus) subject.focus end end # Check and Radio shared_examples "selectable" do it "calls get_selection when checked? is called" do expect(real).to receive(:get_selection) subject.checked? end it "calls set_selection when checked= is called" do expect(real).to receive(:set_selection).with(true) subject.checked = true end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
shoes-swt-4.0.0.pre4 | spec/shoes/swt/shared_examples/button.rb |
shoes-swt-4.0.0.pre3 | spec/shoes/swt/shared_examples/button.rb |
shoes-swt-4.0.0.pre2 | spec/swt_shoes/shared_examples/button.rb |