Sha256: be0fc1e604c986e82b75bdc833f41358e7fe44cb58723b4e174554373b1bf008
Contents?: true
Size: 498 Bytes
Versions: 9
Compression:
Stored size: 498 Bytes
Contents
require 'spec_helper' class PartialsController < ActionController::Base def index prepend_view_path "#{Rails.root.join('spec', 'views')}" end end describe PartialsController 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 response.body.should have_selector('#footnotes_debug #partials_debug_info table tr', :visible => false, :count => 2) end end
Version data entries
9 entries across 9 versions & 1 rubygems