Registry / testing / rails-controller-testing

rails-controller-testing

JSON →
library1.0.5rbrubygemsunverified

Extracts `assigns` and `assert_template` from ActionDispatch for use in Rails controller tests.

gem install rails-controller-testing
INSTALL
IMPORT
SIG · RAILS-CONTROLLER-T
R
rails-controller-testing
testingrubyv1.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RailsControllerTesting
require 'rails-controller-testing'

Use assigns and assert_template in Rails controller tests.

require 'rails-controller-testing' class MyControllerTest < ActionController::TestCase test 'should get index' do get :index assert_template 'index' end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
rails-controller-testing — gem install rails-controller-testing · libregistry