Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Add initial spec
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed Aug 19, 2015
1 parent bb43aac commit fec96bc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions spec/todo-spec.coffee
@@ -0,0 +1,13 @@
describe "TODO grammar", ->
grammar = null

beforeEach ->
waitsForPromise ->
atom.packages.activatePackage("language-todo")

runs ->
grammar = atom.grammars.grammarForScopeName("text.todo")

it "parses the grammar", ->
expect(grammar).toBeTruthy()
expect(grammar.scopeName).toBe "text.todo"

0 comments on commit fec96bc

Please sign in to comment.