aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/services/servicesConfig_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/services/servicesConfig_test.go')
-rw-r--r--config/services/servicesConfig_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/services/servicesConfig_test.go b/config/services/servicesConfig_test.go
index 96ef839a1..69dec0350 100644
--- a/config/services/servicesConfig_test.go
+++ b/config/services/servicesConfig_test.go
@@ -33,6 +33,8 @@ someOtherValue = "foo"
shortname = "DS"
[services.googleAnalytics]
id = "ga_id"
+[services.instagram]
+disableInlineCSS = true
`
cfg, err := config.FromConfigString(tomlConfig, "toml")
assert.NoError(err)
@@ -44,6 +46,7 @@ id = "ga_id"
assert.Equal("DS", config.Disqus.Shortname)
assert.Equal("ga_id", config.GoogleAnalytics.ID)
+ assert.True(config.Instagram.DisableInlineCSS)
}
// Support old root-level GA settings etc.