Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix assertion problem

Use groovy truth instead of a null comparison when inspecting Gep Navigator objects.
  • Loading branch information...
commit 00c6c6218585a7c6f407ab8c3c879bda3446698c 1 parent 5d2f752
@jeffbrown jeffbrown authored
View
6 src/test/groovy/grails/functional/tests/plugins/PluginViewsSpec.groovy
@@ -14,9 +14,9 @@ class PluginViewsSpec extends BaseApplicationSpec {
then:"The correct content is returned"
title == "Database Dump"
contains "<h1>Display Data</h1>"
- $("a", text:'Database Info') != null
- $("a", text: 'Display Data') != null
- $("a", text:'Execute SQL') != null
+ $("a", text:'Database Info')
+ $("a", text: 'Display Data')
+ $("a", text:'Execute SQL')
}
void "Test resource load correctly"() {
Please sign in to comment.
Something went wrong with that request. Please try again.