We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9a1ae7 commit f76361eCopy full SHA for f76361e
grails-core/src/test/groovy/org/grails/config/YamlPropertySourceLoaderSpec.groovy
@@ -1,12 +1,18 @@
1
package org.grails.config
2
3
+import grails.util.Environment
4
import org.grails.config.yaml.YamlPropertySourceLoader
5
import org.springframework.core.io.FileSystemResource
6
import org.springframework.core.io.Resource
7
import spock.lang.Specification
8
9
class YamlPropertySourceLoaderSpec extends Specification {
10
11
+ void setup() {
12
+ // reset environment
13
+ System.setProperty(Environment.KEY, "")
14
+ }
15
+
16
def "ensure the config for environment is merged with single environment block"() {
17
given: "A PropertySourcesConfig instance"
18
def propertySource = new YamlPropertySourceLoader()
0 commit comments