Sha256: 5aae5a349c166dab377f19622de770bd7a4e194e2d854d415093f24bac1b9f7f

Contents?: true

Size: 407 Bytes

Versions: 3

Compression:

Stored size: 407 Bytes

Contents

require 'spec_helper'

describe "Collection blocks", type: :request do
  example "Rendering collections" do
    get '/collection'

    response.body.should == <<-HTML.strip_heredoc
      <html>
      <head>
        <title>Dummy app</title>
      </head>
      <body>
      <ul>

        <li>uno</li>

        <li>dos</li>

        <li>tres!</li>

      </ul>

      </body>
      </html>
    HTML
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
curly-templates-2.1.0 spec/integration/collection_blocks_spec.rb
curly-templates-2.1.0.beta2 spec/integration/collection_blocks_spec.rb
curly-templates-2.1.0.beta1 spec/integration/collection_blocks_spec.rb