Sha256: 3035dd94f49e7f85c9f5f21bd06fabba99c5574806d0727259f801586ef438e3

Contents?: true

Size: 434 Bytes

Versions: 3

Compression:

Stored size: 434 Bytes

Contents

describe "Using Curly for the application layout", type: :request do
  example "A simple layout view" do
    get '/'

    response.body.should == <<-HTML.strip_heredoc
      <html>
      <head>
        <title>Dummy app</title>
      </head>
      <body>
      <header>
        <h1>Dummy app</h1>
      </header>
      <h1>Dashboard</h1>
      <p>Hello, World!</p>
      <p>Welcome!</p>

      </body>
      </html>
    HTML
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
curly-templates-2.5.0 spec/integration/application_layout_spec.rb
curly-templates-2.4.1 spec/integration/application_layout_spec.rb
curly-templates-2.4.0 spec/integration/application_layout_spec.rb