• Vladimir Shushlin's avatar
    Fix broken dora4 spec · b76bd0d8
    Vladimir Shushlin authored
    By default dora4 metrics controller returns data for last 3 months
    
    We use 2021-01-01 as fixture date in specs.
    
    So controllers stoped returning this data on 2021-04-02
    
    Also, max range was calculated as 91 days, while it's actually
    possible to have 92 days in 3 months.
    I caught this trying to fix the issue
    b76bd0d8
metrics_spec.rb 3.21 KB