diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-06-04 22:34:11 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-06-04 22:34:11 +0300 |
commit | f12ee2a2f490e6d126ac6345a5ad7cbf12833791 (patch) | |
tree | c1669f129d10a1b903214a836cf02265f3d0b28d /spec/features/projects | |
parent | 3571b97effd81f9a84f238f918544c6e5c625b76 (diff) |
Remove unused running_or_pending_build_count
Diffstat (limited to 'spec/features/projects')
-rw-r--r-- | spec/features/projects/jobs/user_browses_job_spec.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/features/projects/jobs/user_browses_job_spec.rb b/spec/features/projects/jobs/user_browses_job_spec.rb index bff5bbe99af..ce0b38b7239 100644 --- a/spec/features/projects/jobs/user_browses_job_spec.rb +++ b/spec/features/projects/jobs/user_browses_job_spec.rb @@ -32,8 +32,6 @@ describe 'User browses a job', :js do page.within('.erased') do expect(page).to have_content('Job has been erased') end - - expect(build.project.running_or_pending_build_count).to eq(build.project.builds.running_or_pending.count(:all)) end context 'with a failed job' do |