Commit ae892724 authored by Alex Kalderimis's avatar Alex Kalderimis

Fix typos in spec descriptions (security report findings)

parent 772b9df8
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
require 'spec_helper' 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(:project) { create(:project, :repository) }
let_it_be(:pipeline) { create(:ci_pipeline, :success, project: project) } let_it_be(:pipeline) { create(:ci_pipeline, :success, project: project) }
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
...@@ -58,7 +58,7 @@ RSpec.describe 'Query.project(fullPath).pipeline(iid).securityReportFinding' do ...@@ -58,7 +58,7 @@ RSpec.describe 'Query.project(fullPath).pipeline(iid).securityReportFinding' do
stub_licensed_features(sast: true, dast: true) stub_licensed_features(sast: true, dast: true)
end end
context 'when user is memeber of the project' do context 'when user is member of the project' do
before do before do
project.add_developer(user) project.add_developer(user)
end end
...@@ -84,7 +84,7 @@ RSpec.describe 'Query.project(fullPath).pipeline(iid).securityReportFinding' do ...@@ -84,7 +84,7 @@ RSpec.describe 'Query.project(fullPath).pipeline(iid).securityReportFinding' do
end end
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 it 'returns no vulnerability findings' do
expect(security_report_findings).to be_nil expect(security_report_findings).to be_nil
end 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