Sha256: 9419bdbb9d51fe5d23ed5b3140d6a26da26a98aa5ffc6afd34177a63f15c0338

Contents?: true

Size: 533 Bytes

Versions: 1

Compression:

Stored size: 533 Bytes

Contents

describe "Days", ->

  beforeEach ->
    a = $("<div>").attr('id', 'main')
    b = $("<div>").addClass('index')
    a.append b
    $('body').append a

  afterEach ->
    $("#main").remove()

  describe "views", ->
    it "should show index", ->  
      # create the view
      U.views.days.index = new Views.Days.Index()
      r = U.views.days.index.collection
      expect( r.length > 0 ).toBeTruthy()
      result = $("#main .index li")
      expect( result.length > 0 ).toBeTruthy()
      expect( result.length ).toEqual( 7 )



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ish_lib-0.0.3 app/assets/javascripts/trash/spec/models_trash/days_spec.coffee