Sha256: 1ff4c2db66cb5099a6a60944e019cd649ba573e780a85d82ffe5e384d194b57f

Contents?: true

Size: 581 Bytes

Versions: 4

Compression:

Stored size: 581 Bytes

Contents

require 'spec_helper'

# also for stuff that is hard/brittle to test in isolation
describe 'Integration specs' do
  describe 'hover & leave' do

    # that #hover and #leave are called with @__app__.current_slot is hard to
    # test since therefore there needs to be a current slot which is only during
    # block execution, stubbing it seems fairly brittle and dependent on
    # internal structure, see #603
    it 'does not raise an error' do
      expect do
        Shoes.app do
          hover {}
          leave {}
        end
      end.not_to raise_error
    end
  end
end

Version data entries

4 entries across 4 versions & 4 rubygems

Version Path
shoes-core-4.0.0.pre3 spec/shoes/integration_spec.rb
shoes-swt-4.0.0.pre2 spec/shoes/integration_spec.rb
shoes-dsl-4.0.0.pre2 spec/shoes/integration_spec.rb
shoes-4.0.0.pre1 spec/shoes/integration_spec.rb