Sha256: 4c4d95e450d799d775bf6cd9b738bac11ea9aedac45c485a2535852ce48b48a5
Contents?: true
Size: 605 Bytes
Versions: 1
Compression:
Stored size: 605 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 context "GET :remove" do let(:layout) { "samples" } let(:action) { :remove } it_should_behave_like "custom layout" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
layout-0.2.0 | spec/controllers/samples_controller_spec.rb |