Sha256: af670bfad4807f71732314c3fc8a67bb253c830dfbaf8f3fc93b956e32d19555

Contents?: true

Size: 803 Bytes

Versions: 26

Compression:

Stored size: 803 Bytes

Contents

#
# DOM builders
#
beforeEach ->
  @$body   = $('body')
  @$ground = $('<div/>').attr('id', 'ground')

  @$body.append @$ground

  @$ground.seed = @seedGround = =>
    @$ground.html """
      <div id="application" class="application">
        <div id="header" class="header" />
        <div id="wrapper" class="wrapper">
          <div id="content" class="content">
            <div id="post1" class="post" />
            <div id="post2" class="post" />
            <div id="post3" class="post" />
          </div>
          <div id="sidebar" class="sidebar">
            <div id="widget1" class="widget" />
            <div id="widget2" class="widget" />
          </div>
        </div>
        <div id="footer" class="footer" />
      </div>
    """

#
# DOM cleanup
#
afterEach ->
  @$ground.remove()

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
joosy-1.2.0.rc.2 spec/helpers/ground.coffee
joosy-1.2.0.rc.1 spec/helpers/ground.coffee
joosy-1.2.0.beta.4 spec/helpers/ground.coffee
joosy-1.2.0.beta.3 spec/helpers/ground.coffee
joosy-1.2.0.beta.2 spec/helpers/ground.coffee
joosy-1.2.0.beta.1 spec/helpers/ground.coffee
joosy-1.2.0.alpha.73 spec/helpers/ground.coffee
joosy-1.2.0.alpha.71 spec/helpers/ground.coffee
joosy-1.2.0.alpha.70 spec/helpers/ground.coffee
joosy-1.2.0.alpha.68 spec/helpers/ground.coffee
joosy-1.2.0.alpha.67 spec/helpers/ground.coffee
joosy-1.2.0.alpha.66 spec/helpers/ground.coffee
joosy-1.2.0.alpha.65 spec/helpers/ground.coffee
joosy-1.2.0.alpha.64 spec/helpers/ground.coffee
joosy-1.2.0.alpha.63 spec/helpers/ground.coffee
joosy-1.2.0.alpha.62 spec/helpers/ground.coffee
joosy-1.2.0.alpha.59 spec/helpers/ground.coffee
joosy-1.2.0.alpha.58 spec/helpers/ground.coffee
joosy-1.2.0.alpha.57 spec/helpers/ground.coffee
joosy-1.2.0.alpha.56 spec/helpers/ground.coffee