Sha256: 08f67c186dded8e41484fc8cd161b2d79e3d65f06777400288d283af12ea16f6

Contents?: true

Size: 222 Bytes

Versions: 1

Compression:

Stored size: 222 Bytes

Contents

shared_examples_for "custom layout" do
  it "should render specified layout" do
    get action
    response.body.should match(/<h1>#{layout}<\/h1>/i)
    response.body.should match(/Viewing the #{action} page/i)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
layout-0.1.0 spec/support/custom_layout_shared.rb