gitlab-org--gitlab-foss/spec/initializers
Sean McGivern a96765e627 Add metric initializer spec
An empty file in one of the instrumented directories will cause the app
to fail to start when metrics are enabled. Metrics aren't enabled by
default in development or test.

We could handle the empty file case explicitly, but a file could still
not define the constant it is expected to, so instead run the
initializer manually in a spec and check that it succeeds.
2017-01-24 14:42:57 +00:00
..
6_validations_spec.rb
metrics_spec.rb Add metric initializer spec 2017-01-24 14:42:57 +00:00
secret_token_spec.rb Introduce "stub_env" test helper for safely stubbing environment variables 2017-01-09 18:19:48 +01:00
settings_spec.rb
trusted_proxies_spec.rb