rails-controller-testing icon indicating copy to clipboard operation
rails-controller-testing copied to clipboard

Brings back `assigns` and `assert_template` to your Rails tests

Results 13 rails-controller-testing issues
Sort by recently updated
recently updated
newest added

looking through the code, if you provide one, the other will never be ran (because it's in an elsif block) What's the reasoning for this behavior?

This gem has restored `assigns` as expected for controller tests, but not for integration tests. e.g.: ``` UsersIntegrationTest < ActionDispatch::IntegrationTest test "get user" do assert_equal joe, assigns(:user) … end end...

I hope you are doing well. Thank you for all the hard work you’ve put into maintaining this gem. I noticed that there have been several commits merged into the...