Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Aug 10, 2015
1 parent 65da516 commit d29c52e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ buildscript {
import org.ajoberstar.gradle.git.release.opinion.Strategies
import org.ajoberstar.grgit.Grgit

//apply plugin: 'org.ajoberstar.release-base'
apply plugin: 'org.ajoberstar.release-opinion'

task wrapper(type: Wrapper) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -704,11 +704,11 @@ public enum ThucydidesSystemProperty {

private final org.slf4j.Logger logger = LoggerFactory.getLogger(ThucydidesSystemProperty.class);

private ThucydidesSystemProperty(final String propertyName) {
ThucydidesSystemProperty(final String propertyName) {
this.propertyName = propertyName;
}

private ThucydidesSystemProperty() {
ThucydidesSystemProperty() {
this.propertyName = name().replaceAll("_",".").toLowerCase();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static void generateReports() throws IOException {

File sourceDirectory = directoryInClasspathCalled("/test-outcomes/containing-nostep-errors");
reporter.generateReportsForTestResultsFrom(sourceDirectory);
driver = new ChromeDriver();//new FirefoxDriver();// PhantomJSDriver();
driver = new ChromeDriver();
}

@AfterClass
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ class WhenRunningASimpleJourney extends Specification{
["Given Dana has purchased an apple for 10 dollars",
"Given Dana has purchased a pear for 5 dollars",
"And Dana has them delivered",
"Then the total cost should be <15>",
"Then the total cost including delivery should be <20>"]
"Then total cost should be <15>",
"Then total cost including delivery should be a value equal to or greater than <20>"]
and:
outcome.testSteps[3].result == FAILURE && outcome.testSteps[4].result == SUCCESS

Expand Down

0 comments on commit d29c52e

Please sign in to comment.