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

- old
+ new

@@ -1,9 +1,9 @@ require 'spec_helper' describe Shoes::Swt::Common::Remove do - let(:clazz) { + let(:clazz) do Class.new do include Shoes::Swt::Common::Remove attr_reader :app, :real, :dsl @@ -11,10 +11,10 @@ @app = app @dsl = dsl @real = real end end - } + end let(:app) { double("app", click_listener: click_listener) } let(:dsl) { double("dsl") } let(:click_listener) { double("click listener") }