Commit ac37c276 authored by Mikołaj Wawrzyniak's avatar Mikołaj Wawrzyniak

Merge branch 'fix_wrong_test_on_feedback_spec' into 'master'

Fix wrong test on Vulnerabilities::Feedback spec

See merge request gitlab-org/gitlab!67157
parents 5a98e5e1 58dd8d3d
...@@ -62,7 +62,7 @@ RSpec.describe Vulnerabilities::Feedback do ...@@ -62,7 +62,7 @@ RSpec.describe Vulnerabilities::Feedback do
let(:feedback) { build(:vulnerability_feedback, project: project, pipeline: pipeline) } let(:feedback) { build(:vulnerability_feedback, project: project, pipeline: pipeline) }
it 'is invalid' do it 'is invalid' do
expect(feedback.project_id).not_to eq(feedback.pipeline_id) expect(feedback.project_id).not_to eq(pipeline.project_id)
expect(feedback).not_to be_valid expect(feedback).not_to be_valid
end end
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