Skip to content

Commit

Permalink
Empty spec for hikari db api
Browse files Browse the repository at this point in the history
  • Loading branch information
megazord committed Feb 19, 2015
1 parent 3126140 commit 1a4f42b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ lazy val root = (project in file(".")).enablePlugins(PlayScala)
libraryDependencies ++= Seq(
jdbc,
"com.zaxxer" % "HikariCP" % "2.3.2",
"com.googlecode.usc" % "jdbcdslog" % "1.0.6.2"
"com.googlecode.usc" % "jdbcdslog" % "1.0.6.2",
"com.h2database" % "h2" % "1.4.185" % "test"
)

resolvers ++= Seq(
Expand Down
28 changes: 28 additions & 0 deletions test/com/edulify/play/hikaricp/HikariCPDBApiSpec.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* Copyright 2014 Edulify.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.edulify.play.hikaricp

import org.specs2.mutable.Specification

class HikariCPDBApiSpec extends Specification {

"When starting HikariCP DB API" should {
"create data sources" in pending
"create data source with logSql enabled" in pending
"bind data source to jndi" in pending
"register driver configured in `driverClassName`" in pending
}
}

0 comments on commit 1a4f42b

Please sign in to comment.