This adds the rails_test_params_backport gem which allows us to write requests in specs using the :params, :headers and :env options introduced in Rails 5.
This allows the same specs to run on both rails 4.2 and rails 5 without generating deprecation warnings.
This adds the
rails_test_params_backport
gem which allows us to write requests in specs using the:params
,:headers
and:env
options introduced in Rails 5.This allows the same specs to run on both rails 4.2 and rails 5 without generating deprecation warnings.