diff --git a/.idea/copyright/ALS2.xml b/.idea/copyright/ALS2.xml
index 665406845..2f6849bb3 100644
--- a/.idea/copyright/ALS2.xml
+++ b/.idea/copyright/ALS2.xml
@@ -1 +1,6 @@
-
\ No newline at end of file
+
+
+
+
+
+
\ No newline at end of file
diff --git a/echo-notifications/src/test/groovy/com/netflix/spinnaker/echo/notification/GithubNotificationAgentSpec.groovy b/echo-notifications/src/test/groovy/com/netflix/spinnaker/echo/notification/GithubNotificationAgentSpec.groovy
index 05fd442cf..5ddf199b0 100644
--- a/echo-notifications/src/test/groovy/com/netflix/spinnaker/echo/notification/GithubNotificationAgentSpec.groovy
+++ b/echo-notifications/src/test/groovy/com/netflix/spinnaker/echo/notification/GithubNotificationAgentSpec.groovy
@@ -33,8 +33,8 @@ import spock.util.concurrent.BlockingVariable
class GithubNotificationAgentSpec extends Specification {
- @Subject
def github = Mock(GithubService)
+ @Subject
def agent = new GithubNotificationAgent()
void setup() {
@@ -42,6 +42,7 @@ class GithubNotificationAgentSpec extends Specification {
agent.setGithubService(github)
}
+
@Unroll
def "sets correct status check for #status status in pipeline events"() {
given:
@@ -108,7 +109,7 @@ class GithubNotificationAgentSpec extends Specification {
then:
actualMessage.get().getDescription() == expectedDescription
actualMessage.get().getTarget_url() == "http://spinnaker.io/#/applications/whatever/executions/details/1?pipeline=foo-pipeline&stage=1"
- actualMessage.get().getContext() == "foo-pipeline/stage/second stage"
+ actualMessage.get().getContext() == "stage/second stage"
where:
status || expectedDescription