Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/spec/tools/ci/qa_changes_spec.rb')
-rw-r--r--qa/spec/tools/ci/qa_changes_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/qa/spec/tools/ci/qa_changes_spec.rb b/qa/spec/tools/ci/qa_changes_spec.rb
index d93d3cd9258..778a0ad33bb 100644
--- a/qa/spec/tools/ci/qa_changes_spec.rb
+++ b/qa/spec/tools/ci/qa_changes_spec.rb
@@ -49,6 +49,14 @@ RSpec.describe QA::Tools::Ci::QaChanges do
end
end
+ context "with shared example changes" do
+ let(:mr_diff) { [{ path: "qa/qa/specs/features/shared_context/some_context.rb", diff: "" }] }
+
+ it ".qa_tests do not return specific specs" do
+ expect(qa_changes.qa_tests).to be_nil
+ end
+ end
+
context "with non qa changes" do
let(:mr_diff) { [{ path: "Gemfile" }] }