Permalink
Browse files

Add some initial specs

  • Loading branch information...
1 parent 25839b8 commit 8bbe141baa71d8fc04a4659635c8fb9e931e4d19 @keathley keathley committed Feb 25, 2016
Showing with 21 additions and 0 deletions.
  1. +8 −0 .travis.yml
  2. +13 −0 spec/elixir-spec.coffee
View
@@ -0,0 +1,8 @@
+language: objective-c
+
+notifications:
+ email:
+ on_success: never
+ on_failure: change
+
+script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
@@ -0,0 +1,13 @@
+describe "Elixir grammar", ->
+ grammar = null
+
+ beforeEach ->
+ waitsForPromise ->
+ atom.packages.activatePackage("language-elixir")
+
+ runs ->
+ grammar = atom.grammars.grammarForScopeName("source.elixir")
+
+ it "parses the grammar", ->
+ expect(grammar).toBeTruthy()
+ expect(grammar.scopeName).toBe "source.elixir"

0 comments on commit 8bbe141

Please sign in to comment.