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

- old
+ new

@@ -4,11 +4,11 @@ include_context "swt app" let(:text) { "TEXT" } let(:dsl) { double('dsl', app: shoes_app).as_null_object } let(:real) { double('real', disposed?: real_disposed).as_null_object } - let(:real_disposed) {false} + let(:real_disposed) { false } subject { Shoes::Swt::Progress.new dsl, swt_app } before :each do allow(swt_app).to receive(:real) @@ -31,10 +31,10 @@ expect(real).to receive(:selection=).and_return(100) subject.fraction = 0.999 end context "with disposed real element" do - let(:real_disposed) {true} + let(:real_disposed) { true } it "shouldn't set selection" do expect(real).not_to receive(:selection=) subject.fraction = 0.55 end