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