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.0.1.pre spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.0.1 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-1.0.0.pre spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.9.0 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.8.9 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.8.8 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.8.7 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.8.7.pre spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.8.6 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.8.6.pre spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.8.5 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.8.4 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.8.3 spec/views/pugin/components/_header.html.haml_spec.rb