Sha256: b99860d30f03ffc487a42385774a6a2bd0f4354bb9d3f303d12656fe06f43a95
Contents?: true
Size: 372 Bytes
Versions: 12
Compression:
Stored size: 372 Bytes
Contents
require 'spec_helper' describe 'web/views/index.haml', :haml_view => true do it "should escape unsafe check characters in URI parameters" do @states = [['abc-xyz-01', 'Disk / Utilisation', '-', '-', '-', false, false, nil, nil]] page = render_haml('index.haml', self) page.should match(%r{\?entity=abc-xyz-01&check=Disk\+%2F\+Utilisation}) end end
Version data entries
12 entries across 12 versions & 1 rubygems