Sha256: b02feb01a0db15159d80af1f60a46fa1e3a81b4355b27f6ededb5a463210a54f

Contents?: true

Size: 314 Bytes

Versions: 8

Compression:

Stored size: 314 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 class='logo' href='/'>UK Parliament</a>
</div>
</header>
DATA
                          )
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pugin-0.8.0 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.7.1 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.7.0 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.6.4 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.6.3 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.6.2 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.6.1 spec/views/pugin/components/_header.html.haml_spec.rb
pugin-0.6.0 spec/views/pugin/components/_header.html.haml_spec.rb