diff options
author | Stan Hu <stanhu@gmail.com> | 2019-05-02 17:13:47 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-05-02 21:30:43 -0700 |
commit | 8e680d1746d197ce237cc86741e362fafb31c154 (patch) | |
tree | 3e3b68316e42c6b865403643ad1b5a48e929c4c6 | |
parent | dd03e745572dcbfafbff198fd2ef813fb65f3420 (diff) | |
download | gitlab-ce-8e680d1746d197ce237cc86741e362fafb31c154.tar.gz |
Fix merge error in project_statistics_spec.rb
-rw-r--r-- | spec/models/project_statistics_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_statistics_spec.rb b/spec/models/project_statistics_spec.rb index d25a417d72d..738398a06f9 100644 --- a/spec/models/project_statistics_spec.rb +++ b/spec/models/project_statistics_spec.rb @@ -153,7 +153,7 @@ describe ProjectStatistics do context 'when the amount is 0' do it 'does not execute a query' do project - expect { described_class.increment_statistic(project.id, stat, 0) } + expect { described_class.increment_statistic(project.id, :build_artifacts_size, 0) } .not_to exceed_query_limit(0) end end |