Commit b7cba601 authored by Kev's avatar Kev

Fix rspec is not updated to new vuln comp id attr

parent ff9478ed
......@@ -34,10 +34,10 @@ RSpec.describe Projects::Security::VulnerabilitiesController do
expect(response.body).to have_text(vulnerability.title)
end
it 'renders the solution card' do
it 'renders the vulnerability component' do
show_vulnerability
expect(response.body).to have_css("#js-vulnerability-footer")
expect(response.body).to have_css("#js-vulnerability-main")
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