mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-11 12:44:22 +08:00
Very basic poems service test
This commit is contained in:
@@ -15,6 +15,7 @@ html
|
||||
script(src="tests/services/reader/markdown.js")
|
||||
script(src="tests/services/reader/json.js")
|
||||
script(src="tests/services/transformer.js")
|
||||
script(src="tests/services/poems.js")
|
||||
|
||||
body
|
||||
div(id="qunit")
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
test("poems service has default content", () ->
|
||||
poems = injector.get("poems")
|
||||
active = poems.getActive()
|
||||
equal(active[0].content[0].text, 'Please be patient!')
|
||||
equal(active[0].content[0].section, 'Loading...')
|
||||
)
|
||||
Reference in New Issue
Block a user