Sha256: 724aafb68eb01d5a0d41646ec03cc10670705249ba7f5d2e93b69adefda7e748

Contents?: true

Size: 260 Bytes

Versions: 71

Compression:

Stored size: 260 Bytes

Contents

beforeEach ->
  @appendFixture = (html) ->
    @$fixtureContainer ||= $('<div class="fixture-container"></div>').appendTo(document.body)
    $(html).appendTo(@$fixtureContainer)

afterEach ->
  $('.fixture-container').remove()
  @$fixtureContainer = undefined

Version data entries

71 entries across 71 versions & 2 rubygems

Version Path
unpoly-rails-0.20.0 spec_app/spec/javascripts/helpers/append_fixture.js.coffee
upjs-rails-0.19.0 spec_app/spec/javascripts/helpers/append_fixture.js.coffee
upjs-rails-0.18.1 spec_app/spec/javascripts/helpers/append_fixture.js.coffee
upjs-rails-0.18.0 spec_app/spec/javascripts/helpers/append_fixture.js.coffee
upjs-rails-0.17.0 spec_app/spec/javascripts/helpers/append_fixture.js.coffee
upjs-rails-0.16.0 spec_app/spec/javascripts/helpers/append_fixture.js.coffee
upjs-rails-0.15.1 spec_app/spec/javascripts/helpers/append_fixture.js.coffee
upjs-rails-0.15.0 spec_app/spec/javascripts/helpers/append_fixture.js.coffee
upjs-rails-0.14.1 spec_app/spec/javascripts/helpers/append_fixture.js.coffee
upjs-rails-0.14.0 spec_app/spec/javascripts/helpers/append_fixture.js.coffee
upjs-rails-0.13.0 spec_app/spec/javascripts/helpers/append_fixture.js.coffee