Sha256: 477632b00775d7274d5ca5d1d46f612f62a63c7b50b7474cd530dfe960a58ccf

Contents?: true

Size: 446 Bytes

Versions: 28

Compression:

Stored size: 446 Bytes

Contents

describe 'up.marker', ->
  
  describe 'unobtrusive behavior', ->
  
    describe '[up-slot]', ->
      
      it 'hides empty containers', ->
        $element = affix('.element[up-slot]')
        up.ready($element)
        expect($element).not.toBeVisible()
      
      it 'does not hide empty containers', ->
        $element = affix('.element[up-slot]').text('content')
        up.ready($element)
        expect($element).toBeVisible()
      

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
upjs-rails-0.11.1 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.11.0 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.10.5 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.10.4 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.10.3 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.10.2 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.10.1 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.10.0 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.9.1 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.9.0 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.8.2 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.8.1 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.8.0 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.7.8 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.7.7 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.7.6 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.7.5 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.7.4 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.7.3 spec_app/spec/javascripts/up/slot_spec.js.coffee
upjs-rails-0.7.2 spec_app/spec/javascripts/up/slot_spec.js.coffee