Skip to content

Commit

Permalink
Update to latest Geb
Browse files Browse the repository at this point in the history
  • Loading branch information
erdi committed Sep 26, 2016
1 parent c67df96 commit 633d2ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion grails-app/conf/BuildConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ grails.project.dependency.resolution = {
checksums true // Whether to verify checksums on resolve
legacyResolve false // whether to do a secondary resolve on plugin installation, not advised and here for backwards compatibility

def gebVersion = "0.13.1"
def gebVersion = "1.0-rc-1"
def seleniumVersion = "2.51.0"

repositories {
Expand Down
2 changes: 1 addition & 1 deletion test/functional/pages/ListPage.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ListPage extends ScaffoldPage {
static content = {
newPersonButton(to: CreatePage) { $("a", text: "New Person") }
peopleTable { $("div.content table", 0) }
personRow { module PersonRow, personRows[it] }
personRow { personRows[it].module PersonRow }
personRows(required: false) { peopleTable.find("tbody").find("tr") }
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/functional/pages/ShowPage.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class ShowPage extends ScaffoldPage {

static content = {
editButton(to: EditPage) { $("a", text: "Edit") }
deleteButton(to: ListPage) { $("input", value: "Delete") }
deleteButton { $("input", value: "Delete") }
row { $("li.fieldcontain span.property-label", text: it).parent() }
value { row(it).find("span.property-value").text() }
visible { Boolean.valueOf(value("Visible")) }
Expand Down

0 comments on commit 633d2ac

Please sign in to comment.