Commit 1ccbd72f authored by Alex Kalderimis's avatar Alex Kalderimis

Merge branch 'ajk-sec-report-findings-typos' into 'master'

Fix typos in report findings spec

See merge request gitlab-org/gitlab!55323
parents 8eef7109 ae892724
......@@ -2,7 +2,7 @@
require 'spec_helper'
RSpec.describe 'Query.project(fullPath).pipeline(iid).securityReportFinding' do
RSpec.describe 'Query.project(fullPath).pipeline(iid).securityReportFindings' do
let_it_be(:project) { create(:project, :repository) }
let_it_be(:pipeline) { create(:ci_pipeline, :success, project: project) }
let_it_be(:user) { create(:user) }
......@@ -58,7 +58,7 @@ RSpec.describe 'Query.project(fullPath).pipeline(iid).securityReportFinding' do
stub_licensed_features(sast: true, dast: true)
end
context 'when user is memeber of the project' do
context 'when user is member of the project' do
before do
project.add_developer(user)
end
......@@ -84,7 +84,7 @@ RSpec.describe 'Query.project(fullPath).pipeline(iid).securityReportFinding' do
end
end
context 'when user is not memeber of the project' do
context 'when user is not a member of the project' do
it 'returns no vulnerability findings' do
expect(security_report_findings).to be_nil
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment