Sha256: 1f22d534360353b9d22f5dce2ded35d0521c44053ae8aa798c6ae21d9721ec75
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
require 'spec_helper' class PartialsController < ActionController::Base def index 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails-footnotes-4.1.6 | spec/controllers/partials_note_controller_spec.rb |