Escape HTML some factory strings

This commit is contained in:
Henne Vogelsang 2016-05-02 17:39:06 +02:00
parent ad0a8eecf2
commit 45bd31fad0
12 changed files with 21 additions and 22 deletions

View file

@ -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