Skip to content

Fix broken test in GitHubEventSpec #104

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

Merged
merged 2 commits into from
Feb 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ scala:
- 2.13.0

script:
- sbt ++$TRAVIS_SCALA_VERSION test:compile
- sbt ++$TRAVIS_SCALA_VERSION test:compile "testOnly *GitHubEventSpec"

# Container-based build environment with faster boot times
sudo: false
Expand Down
4 changes: 2 additions & 2 deletions src/test/scala/events/GitHubEventSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class GitHubEventSpec extends FunSpec with Matchers with Inside
head.user shouldBe a [models.User]
}
it("should have a repo") {
head.repo shouldBe a [models.Repository]
head.repo.get shouldBe a [models.Repository]
}
}
it("should have a base") {
Expand Down Expand Up @@ -254,7 +254,7 @@ class GitHubEventSpec extends FunSpec with Matchers with Inside
head.user shouldBe a [models.User]
}
it("should have a repo") {
head.repo shouldBe a [models.Repository]
head.repo.get shouldBe a [models.Repository]
}
}
it("should have a base") {
Expand Down