Sha256: 724ebf1d05c222435eb20927e15c1497c4e0c8d1349f4af3a46c0d72f4f1cb05

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

module "Cartilage.Application"

test "should initialize and launch application", ->
  class TestApplication extends Cartilage.Application
    initialize: ->
      new Backbone.Router
        routes:
          "": "showMainView"
        showMainView: ->
          "mainView"
      Backbone.history.start({ pushState: true })
  TestApplication.launch()
  ok not _.isNull(TestApplication.sharedInstance), "sharedInstance should not be null"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cartilage-0.1.2 test/framework/cartilage/application_test.js.coffee
cartilage-0.1.1 test/framework/cartilage/application_test.js.coffee