Commit 58dd8d3d authored by Mehmet Emin INAC's avatar Mehmet Emin INAC

Fix wrong test on Vulnerabilities::Feedback spec

parent 9e44919c
...@@ -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