fix test names (#1865)
* upgrade to spring boot 1.5.2
* add full update to REST API
* modify ratings controller
* upgrade herold
* fix integration test
* fix integration test
* minor fix
* fix integration test
* fix integration test
* minor cleanup
* minor cleanup
* remove log4j properties
* use standard logbook.xml
* remove log4j dependencies
* remove commons-logging
* merge
* fix conflict
* exclude commons-logging dependency
* cleanup
* minor fix
* minor fix
* fix dependency issues
* Revert "fix dependency issues"
This reverts commit 83bf1f9fd2.
* fix dependency issues
* minor fix
* minor fix
* minor fix
* cleanup generated files
* fix commons-logging issue
* add parent to pom
* cleanup parent dependencies
* cleanup pom
* cleanup pom
* add missing parent
* fix logging issue
* fix test names
* fix merge
* minor fix
* fix test names
* fix test names
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
package com.baeldung.serenity.spring;
|
||||
|
||||
import com.baeldung.serenity.spring.steps.KonamiCodeRestSteps;
|
||||
import io.restassured.module.mockmvc.RestAssuredMockMvc;
|
||||
import net.serenitybdd.junit.runners.SerenityRunner;
|
||||
import net.thucydides.core.annotations.Steps;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
/**
|
||||
* @author aiet
|
||||
*/
|
||||
@RunWith(SerenityRunner.class)
|
||||
public class KonamiCodeMockMvcIntegrationTest {
|
||||
|
||||
@Before
|
||||
public void init() {
|
||||
RestAssuredMockMvc.standaloneSetup(new KonamiCodeController());
|
||||
}
|
||||
|
||||
@Steps KonamiCodeRestSteps steps;
|
||||
|
||||
@Test
|
||||
public void givenOfficialClassicCheatcode_whenCheat_ThenTheCodeShouldDoTheTrick() throws Exception {
|
||||
steps.givenClassicCheatCode();
|
||||
steps.whenCheat();
|
||||
steps.thenClassicCodeCanDoTheTrick();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user