Sha256: 771cc55b41f016d1a67ee43945d8fabb34b040389f36533f52c73e7982357929
Contents?: true
Size: 358 Bytes
Versions: 20
Compression:
Stored size: 358 Bytes
Contents
require 'spec_helper' describe 'web/views/check.html.erb', :erb_view => true do it "should escape unsafe check characters in URIs" do @entity = 'abc-xyz-01' @check = 'Disk / Utilisation' @last_notifications = {} page = render_erb('check.html.erb', binding) expect(page).to match(%r{/abc-xyz-01/Disk%20%2F%20Utilisation}) end end
Version data entries
20 entries across 20 versions & 1 rubygems