Skip to content

Commit

Permalink
Added search by director
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Jun 14, 2015
1 parent c49ffe7 commit 68e09c2
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 94 deletions.
20 changes: 12 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ repositories {
mavenCentral()
}

def serenityCoreVersion = "1.0.53"
def cucumberVersion = "1.2.2"

dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-actuator")
Expand All @@ -45,14 +48,15 @@ dependencies {
// compile("org.springframework.boot:spring-boot-starter-ws")

testCompile("org.springframework.boot:spring-boot-starter-test")
testCompile 'net.serenity-bdd:core:1.0.53'
testCompile 'net.serenity-bdd:serenity-spring:1.0.53'
testCompile 'net.serenity-bdd:serenity-rest-assured:1.0.53'
testCompile 'net.serenity-bdd:serenity-cucumber:1.0.16'
testCompile 'org.codehaus.groovy:groovy-all:2.3.6'
testCompile 'org.spockframework:spock-core:0.7-groovy-2.0'
testCompile 'org.spockframework:spock-spring:0.7-groovy-2.0'
testCompile 'org.assertj:assertj-core:1.7.1'
testCompile "net.serenity-bdd:serenity-core:${serenityCoreVersion}"
testCompile "net.serenity-bdd:serenity-spring:${serenityCoreVersion}"
testCompile "net.serenity-bdd:serenity-rest-assured:${serenityCoreVersion}"
testCompile "net.serenity-bdd:serenity-cucumber:1.0.16"
testCompile "org.codehaus.groovy:groovy-all:2.3.6"
// testCompile "info.cukes:cucumber-groovy:$cucumberVersion"
testCompile "org.spockframework:spock-core:0.7-groovy-2.0"
testCompile "org.spockframework:spock-spring:0.7-groovy-2.0"
testCompile "org.assertj:assertj-core:3.0.0"
}


Expand Down
18 changes: 0 additions & 18 deletions src/main/java/com/wakaleo/myflix/MovieServiceApplication.java

This file was deleted.

10 changes: 10 additions & 0 deletions src/main/java/com/wakaleo/myflix/movies/model/Movie.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,14 @@ public String getDirector() {
public List<String> getActors() {
return actors;
}


@Override
public String toString() {
final StringBuilder sb = new StringBuilder("Movie{");
sb.append("title='").append(title).append('\'');
sb.append(", director='").append(director).append('\'');
sb.append('}');
return sb.toString();
}
}
1 change: 1 addition & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
spring.freemarker.checkTemplateLocation=false
68 changes: 0 additions & 68 deletions src/test/groovy/com/wakaleo/myflix/movies/WhenFindingMovies.groovy

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.wakaleo.myflix;

import com.wakaleo.myflix.movies.MovieServiceApplication;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
Expand Down

0 comments on commit 68e09c2

Please sign in to comment.