Files
fullcalendar/lib/jasmine-fixture/spec-e2e/basic-usage-spec.coffee
T
2014-08-31 15:30:31 +01:00

15 lines
424 B
CoffeeScript

describe "jasmine-fixture", ->
describe "affixing things", ->
invariants.passingSpec()
describe "a simple div", ->
Given -> createSpec """
describe 'foo', ->
Given -> @foo = 1
When -> @foo++
Then -> @foo == 2
"""
When (done) -> runSpec done, (result) ->
@result = result
Then -> expect(@result.stdout).toMatch(/ok.*- foo then this.foo === 2/)