Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to pending spec is missing an icon #37

Closed
asflierl opened this issue Sep 4, 2011 · 2 comments
Closed

Link to pending spec is missing an icon #37

asflierl opened this issue Sep 4, 2011 · 2 comments
Milestone

Comments

@asflierl
Copy link
Contributor

asflierl commented Sep 4, 2011

Hi again,

using these two specs

import org.specs2._

object LinkingSpec extends Specification { def is =
  "Some title" ^
    "a pending spec" ~ PendingSpec
}
import org.specs2._

object PendingSpec extends Specification { def is =
  "The implementation of this spec is" ! pending
}

and this build.sbt

name := "pending again"

scalaVersion := "2.9.1"

testOptions := Seq(
  Tests.Filter(_ == "LinkingSpec"), 
  Tests.Argument("html", "console", "junitxml"))

libraryDependencies ++= Seq(
  "org.specs2" %% "specs2" % "1.6" % "test",
  "org.pegdown" % "pegdown" % "1.0.2" % "test",
  "junit" % "junit" % "4.7" % "test"
)

resolvers ++= Seq(
  "snapshots" at "http://scala-tools.org/repo-snapshots",
  "releases" at "http://scala-tools.org/repo-releases"
)

the generated HTML for LinkingSpec shows a missing image where the icon for pending (or is it "info"?) should be.

@etorreborre
Copy link
Owner

Ouch, I didn't realized that. This is fixed in the new 1.7-SNAPSHOT (I added a "pending" icon so that status names are aligned with icon names).

@asflierl
Copy link
Contributor Author

asflierl commented Sep 4, 2011

Awesome, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants