Sha256: e8b63649e29a86cb42564d1596707ecebf8d02c3dbb97aeb4d12a0d1a87f4e23

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 Bytes

Contents

require "spec_helper"

describe SamplesController do
  render_views

  context "GET :index" do
    let(:layout) { "application" }
    let(:action) { :index }
    it_should_behave_like "custom layout"
  end

  context "GET :show" do
    let(:layout) { "site" }
    let(:action) { :show }
    it_should_behave_like "custom layout"
  end

  context "GET :edit" do
    let(:layout) { "modal" }
    let(:action) { :edit }
    it_should_behave_like "custom layout"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
layout-0.1.0 spec/controllers/samples_controller_spec.rb