Sha256: b9ac46956508443f06be88ab692caf75610a40fd2ecd46ab00653f51dec3368d
Contents?: true
Size: 461 Bytes
Versions: 9
Compression:
Stored size: 461 Bytes
Contents
require 'spec_helper' class PartialsController < ActionController::Base def index end end describe PartialsController, type: :controller do render_views before :all do Footnotes.enabled = true end after :all do Footnotes.enabled = false end it 'lists the rendered partials' do get :index expect(response.body).to have_selector('#footnotes_debug #partials_debug_info table tr', :visible => false, :count => 2) end end
Version data entries
9 entries across 9 versions & 2 rubygems