Sha256: 7a27ff606231b213a58383e1a9bb749052e0b71ca2f832dc734487cacbea3d85
Contents?: true
Size: 417 Bytes
Versions: 5
Compression:
Stored size: 417 Bytes
Contents
require 'spec_helper' class TestController < ActionController::Base; end RSpec.describe TestController, type: :controller do render_views describe '#render_component' do controller do def index render_component end end it 'renders the application layout' do get :index, no_prerender: true expect(response).to render_template(layout: :application) end end end
Version data entries
5 entries across 5 versions & 1 rubygems