Skip to content

Commit

Permalink
Merge branch 'b1.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellSpitzer committed Aug 12, 2016
2 parents f6b9df1 + 0303005 commit d0d72f0
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ class DocCheck extends SparkCassandraITFlatSpecBase{

val pwd = System.getenv("PWD")

"The Reference Doc File" should "contain all of the current properties" in {
val reRunMessage =
"""******* re-run sbt spark-cassandra-connector-doc/run to regenerate properties file
|*******.
""".stripMargin

"The Reference Doc File" should "contain all of the current properties" in withClue(reRunMessage){
val refFile = scala.io.Source.fromFile(new File(s"$pwd/doc/reference.md")).mkString


Expand All @@ -22,7 +27,7 @@ class DocCheck extends SparkCassandraITFlatSpecBase{
info(s"Reference contains ${ConfigCheck.validStaticPropertyNames.size} entries")
}

"it" should "match a freshly created reference file" in {
"it" should "match a freshly created reference file" in withClue(reRunMessage){
val refFile = scala.io.Source.fromFile(new File(s"$pwd/doc/reference.md")).mkString
RefBuilder.getMarkDown() should be(refFile)

Expand Down

0 comments on commit d0d72f0

Please sign in to comment.