Skip to content

Commit ac9fdc6

Browse files
authored
Merge pull request #34 from chrira/test
make test working inside pod
2 parents d90140f + 7472b20 commit ac9fdc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/ch/appuio/techlab/controller/PodRestControllerTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package ch.appuio.techlab.controller;
22

3-
import static org.hamcrest.CoreMatchers.is;
3+
import static org.hamcrest.CoreMatchers.startsWith;
44
import static org.hamcrest.MatcherAssert.assertThat;
55
import org.junit.Test;
66

@@ -15,6 +15,6 @@ public void getPodDescription() {
1515
String podDescription = controller.pod();
1616

1717
// then
18-
assertThat(podDescription, is("Pod: null"));
18+
assertThat(podDescription, startsWith("Pod: "));
1919
}
2020
}

0 commit comments

Comments
 (0)