Skip to content

Commit 5e96d27

Browse files
Merge pull request #104 from ashawley/fix-githubevent-test
Fix broken test in GitHubEventSpec
2 parents ae95369 + 18f311a commit 5e96d27

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ scala:
55
- 2.13.0
66

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

1010
# Container-based build environment with faster boot times
1111
sudo: false

src/test/scala/events/GitHubEventSpec.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class GitHubEventSpec extends FunSpec with Matchers with Inside
176176
head.user shouldBe a [models.User]
177177
}
178178
it("should have a repo") {
179-
head.repo shouldBe a [models.Repository]
179+
head.repo.get shouldBe a [models.Repository]
180180
}
181181
}
182182
it("should have a base") {
@@ -254,7 +254,7 @@ class GitHubEventSpec extends FunSpec with Matchers with Inside
254254
head.user shouldBe a [models.User]
255255
}
256256
it("should have a repo") {
257-
head.repo shouldBe a [models.Repository]
257+
head.repo.get shouldBe a [models.Repository]
258258
}
259259
}
260260
it("should have a base") {

0 commit comments

Comments
 (0)