Sha256: ac40a404b26e5bde446eed050b78b57109c740078b526cff12fa175153d9c976

Contents?: true

Size: 531 Bytes

Versions: 33

Compression:

Stored size: 531 Bytes

Contents

require 'spec_helper'
require 'haml'

describe 'pugin/components/_header.html.haml', type: :view do

  it 'renders as expected' do
    render

    expect(response).to eq(<<DATA
<header>
<div class='container'>
<a href='/'>
<img alt='UK Parliament' class='logo' src='https://s3-eu-west-1.amazonaws.com/web1live.pugin-website/images/uk_parliament_logo_white.png' srcset='https://s3-eu-west-1.amazonaws.com/web1live.pugin-website/images/uk_parliament_logo_white.svg'>
</a>
</div>
</header>
DATA
                          )
  end

end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
pugin-1.6.7 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.6.6 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.6.5 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.6.4 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.6.3 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.6.1 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.6.0 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.5.1 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.5.0 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.4.1 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.4.0 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.3.1 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.3.0 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.2.5 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.2.4 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.2.3 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.2.2 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.2.1 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.2.0 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.1.2 spec/views/pugin/components/_header.html.haml_spec.rb