diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-23 15:22:22 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-23 15:22:22 +0300 |
commit | bc9a0e10b50430e0b253a15d1628b6776d0bd9fe (patch) | |
tree | 6e6b56769eb125d7ed3d7f05b51441a1e0825997 /spec/controllers | |
parent | 92de5f778faa989fb25f9a5c93c5e23618f2d87b (diff) |
Reduce amount of expected pipeline serialization queries in specs
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects/pipelines_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/pipelines_controller_spec.rb b/spec/controllers/projects/pipelines_controller_spec.rb index d7253c90ee5..62eece8de4a 100644 --- a/spec/controllers/projects/pipelines_controller_spec.rb +++ b/spec/controllers/projects/pipelines_controller_spec.rb @@ -36,7 +36,7 @@ describe Projects::PipelinesController do expect(json_response['count']['running']).to eq '1' expect(json_response['count']['pending']).to eq '1' expect(json_response['count']['finished']).to eq '2' - expect(queries.count).to be_within(2).of(29) + expect(queries.count).to be < 30 end it 'does not include coverage data for the pipelines' do |