Add HAML views specs

Added spes for dast_profiles/index and dast_site_profiles/new
parent b77e4e14
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe "projects/dast_profiles/index", type: :view do
before do
@project = create(:project)
render
end
it 'renders a placeholder title' do
expect(rendered).to have_content('Manage profiles')
end
end
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe "projects/dast_site_profiles/new", type: :view do
before do
@project = create(:project)
render
end
it 'renders a placeholder title' do
expect(rendered).to have_content('New Site Profile')
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