Sha256: cb4cf9fe6b0eb5271a2426faeeec56a2a844c49a9d62b785968dfea0b0b08b5f

Contents?: true

Size: 582 Bytes

Versions: 1

Compression:

Stored size: 582 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

1 entries across 1 versions & 1 rubygems

Version Path
shoes-core-4.0.0.pre4 spec/shoes/integration_spec.rb