app.parentname = "objectpartners.com" | |
environments { | |
test { | |
app.parentname = "danveloper.com" | |
} | |
} |
class CustomerIntegrationTests extends GroovyTestCase { | |
// DI | |
def grailsApplication | |
void testProps() { | |
def customer = grailsApplication.mainContext.getBean(Customer) | |
assert customer.parentName == "danveloper.com" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment