Sha256: 5892b4343f3a30e959faf4c20d974fbcd8d8bfae9fb96f1e7c84613b75e6396c

Contents?: true

Size: 399 Bytes

Versions: 7

Compression:

Stored size: 399 Bytes

Contents

require 'spec_helper'

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>
      <h1>Dashboard</h1>
      <p>Hello, World!</p>
      <p>Welcome!</p>

      </body>
      </html>
    HTML
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
curly-templates-2.3.1 spec/integration/application_layout_spec.rb
curly-templates-2.3.0 spec/integration/application_layout_spec.rb
curly-templates-2.2.0 spec/integration/application_layout_spec.rb
curly-templates-2.1.1 spec/integration/application_layout_spec.rb
curly-templates-2.1.0 spec/integration/application_layout_spec.rb
curly-templates-2.1.0.beta2 spec/integration/application_layout_spec.rb
curly-templates-2.1.0.beta1 spec/integration/application_layout_spec.rb