spec/shoes/swt/spec_helper.rb in shoes-swt-4.0.0.pre6 vs spec/shoes/swt/spec_helper.rb in shoes-swt-4.0.0.pre7

- old
+ new

@@ -27,10 +27,10 @@ end # as we do not create real apps most of the time there are no redraws and we # we don't really want that during test execution either way as it adds stuff to # methods that might break -def with_redraws(&blk) +def with_redraws allow(Shoes::Swt::RedrawingAspect).to receive(:new).and_call_original aspect = Shoes::Swt::RedrawingAspect.new swt_app, double begin yield ensure