assertThat(view.status(), containsString("failing"));
}
}
@Test
public void should_describe_the_job_as_unstable_if_the_last_build_is_unstable() {
<BUG>view = JobView.of(

a(job().whereTheLast(build().finishedWith(UNSTABLE))),

withDefaultConfig());</BUG>
assertThat(view.status(), containsString("unstable"));

assertThat(view.status(), containsString("failing"));
}
}
@Test
public void should_describe_the_job_as_unstable_if_the_last_build_is_unstable() {
view = a(jobView().of(
a(job().whereTheLast(build().finishedWith(UNSTABLE)))));
