summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/controllers/projects/artifacts_controller_spec.rb1
-rw-r--r--spec/models/ci/build_spec.rb22
-rw-r--r--spec/serializers/pipeline_serializer_spec.rb1
3 files changed, 0 insertions, 24 deletions
diff --git a/spec/controllers/projects/artifacts_controller_spec.rb b/spec/controllers/projects/artifacts_controller_spec.rb
index f385de725e8..4ea6f869aa3 100644
--- a/spec/controllers/projects/artifacts_controller_spec.rb
+++ b/spec/controllers/projects/artifacts_controller_spec.rb
@@ -118,7 +118,6 @@ describe Projects::ArtifactsController do
shared_examples 'a valid file' do
it 'serves the file using workhorse' do
- binding.pry
subject
expect(response).to have_gitlab_http_status(200)
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb
index b28baa4a442..5e03ada4987 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -204,28 +204,6 @@ describe Ci::Build do
end
end
- describe '#downloadable_single_artifacts_file?' do
- let(:build) { create(:ci_build, :artifacts, artifacts_file_store: store) }
-
- subject { build.downloadable_single_artifacts_file? }
-
- context 'artifacts are stored locally' do
- let(:store) { ObjectStorage::Store::LOCAL }
-
- it { is_expected.to be_truthy }
- end
-
- context 'artifacts are stored remotely' do
- let(:store) { ObjectStorage::Store::REMOTE }
-
- before do
- stub_artifacts_object_storage
- end
-
- it { is_expected.to be_falsey }
- end
- end
-
describe '#artifacts_expired?' do
subject { build.artifacts_expired? }
diff --git a/spec/serializers/pipeline_serializer_spec.rb b/spec/serializers/pipeline_serializer_spec.rb
index f7f10199765..14c9f5cb58c 100644
--- a/spec/serializers/pipeline_serializer_spec.rb
+++ b/spec/serializers/pipeline_serializer_spec.rb
@@ -116,7 +116,6 @@ describe PipelineSerializer do
shared_examples 'no N+1 queries' do
it 'verifies number of queries', :request_store do
- binding.pry
recorded = ActiveRecord::QueryRecorder.new { subject }
expect(recorded.count).to be_within(1).of(40)