Sha256: 93680fbc55c8d93bc099225078721f08453686b08d64fdfb27d642b2dad12b22

Contents?: true

Size: 345 Bytes

Versions: 29

Compression:

Stored size: 345 Bytes

Contents

require 'spec_helper'

describe 'web/views/check.haml', :haml_view => true do

  it "should escape unsafe check characters in URIs" do
    @entity = 'abc-xyz-01'
    @check  = 'Disk / Utilisation'
    @last_notifications = {}

    page = render_haml('check.haml', self)
    page.should match(%r{/abc-xyz-01/Disk%20%2F%20Utilisation})
  end

end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
flapjack-0.7.18 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.17 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.16 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.15 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.14 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.13 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.12 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.11 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.10 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.9 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.8 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.7 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.6 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.5 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.4 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.3 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.2 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.1 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.7.0 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb
flapjack-0.6.61 spec/lib/flapjack/gateways/web/views/check.haml_spec.rb