1 | require './setup'
|
2 |
|
3 | describe 'jade', ->
|
4 | beforeEach ->
|
5 | @load '''
|
6 | ### Button
|
7 |
|
8 | @example
|
9 | a.button
|
10 | | Hello
|
11 | '''
|
12 |
|
13 | it 'sg-canvas', ->
|
14 | expect(@$(".sg-canvas").length).eql 1
|
15 |
|
16 | it 'example rendering', ->
|
17 | expect(@$("a.button").length).eql 1
|
18 | expect(@$("a.button").html()).eql "Hello"
|
19 |
|