Sha256: 39a71956124d266e797584e32a7f2927e3b2fd296fdcd03fe8af2506e1def96c
Contents?: true
Size: 624 Bytes
Versions: 1
Compression:
Stored size: 624 Bytes
Contents
require "spec_helper" describe SamplesController, type: :controller 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.1 | spec/controllers/samples_controller_spec.rb |