Sha256: 4c9a713eb7fa60f681098ddce3b1b0dccb150aabf0d1381f8af3fce5aa57df93

Contents?: true

Size: 522 Bytes

Versions: 1

Compression:

Stored size: 522 Bytes

Contents

require 'swt_shoes/spec_helper'

describe Shoes::App do
  before :each do
    # The stubs that are unstubbed here occur in the spec_helper
    # error not triggered with a stubbed flush (removing the stub overall
    # seemed to difficult after initial try)
    Shoes::Swt::App.any_instance.unstub(:flush)
    Shoes::Swt::RedrawingAspect.unstub :new
  end

  it 'does not fail with just a simple para #574' do
    expect do
      app = Shoes.app do para 'me no fail' end
      app.quit
    end.not_to raise_error
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-4.0.0.pre1 spec/swt_shoes/integration_spec.rb