Skip to content

Commit

Permalink
added a dsl scoping test - with one ignored for future work on issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cjstehno committed Nov 7, 2018
1 parent e7e3fae commit 8814366
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class DSLScopingSpec extends Specification {
private static final String VALUE_C = 'value-C'

void 'static field should be resolvable in DSL'() {
when:
setup:
def config = conf {
value VALUE_A
nested {
Expand All @@ -39,7 +39,7 @@ class DSLScopingSpec extends Specification {
}
}

then:
expect:
config.value == VALUE_A
config.valuator.value == VALUE_B
config.valuator.stored.value == VALUE_C
Expand Down

0 comments on commit 8814366

Please sign in to comment.