Sha256: d2521cfd217f05701b986428207ac3d3cb99e5657ef64076962dc240f7923a23
Contents?: true
Size: 430 Bytes
Versions: 16
Compression:
Stored size: 430 Bytes
Contents
require 'spec_helper' if ruby? 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 end
Version data entries
16 entries across 16 versions & 2 rubygems