Skip to content

Commit

Permalink
start of app conf spec
Browse files Browse the repository at this point in the history
  • Loading branch information
arosien committed Nov 14, 2012
1 parent 7e59e4c commit 3f2c1df
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/src/test/scala/SniffConfSpec.scala
@@ -0,0 +1,14 @@
package net.rosien.sniff

import org.specs2.Specification

class SniffConfSpec extends Specification {
def is = "app conf should" ^
"not accept invalid languages" ! noInvalidLangs ^
end

def noInvalidLangs = {
// new App.SniffConf(Array("--lang", "foo")).lang.orElse(None).get must beNone
pending
}
}

0 comments on commit 3f2c1df

Please sign in to comment.