Escape HTML some factory strings
This commit is contained in:
parent
ad0a8eecf2
commit
45bd31fad0
12 changed files with 21 additions and 22 deletions
|
|
@ -8,6 +8,6 @@ describe 'admin/conference/index' do
|
|||
assign(:conferences, [conference, second_conference])
|
||||
render
|
||||
expect(rendered).to include('openSUSE Conference 2016')
|
||||
expect(rendered).to include(second_conference.title)
|
||||
expect(rendered).to include(CGI.escapeHTML(second_conference.title))
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue