• Sean McGivern's avatar
    Add metric initializer spec · a96765e6
    Sean McGivern authored
    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.
    a96765e6
metrics_spec.rb 452 Bytes