use of io.pivotal.cla.security.WithSigningUser in project pivotal-cla by pivotalsoftware.
the class HomeControllerTests method signIcla.
@Test
@WithSigningUser
public void signIcla() {
when(mockClaRepository.findByNameAndPrimaryTrue(cla.getName())).thenReturn(cla);
SignClaPage home = HomePage.go(driver);
SignIclaPage sign = home.signIcla(SignIclaPage.class);
sign.assertAt();
}
Aggregations