rails-controller-testing Gem -


i pulled app edge rails. i've fixed compatibility issues, tests giving errors this:

nomethoderror: assigns has been extracted gem. continue using it,     add `gem 'rails-controller-testing'` gemfile. 

the first time occurred, added gem 'rails-controller-testing' gemfile in :test group , ran bundle. according process, gem installed @ version 0.0.3, getting same errors. how resolve them?

try adding in spec_helper.rb

rspec.configure |config|   [:controller, :view, :request].each |type|     config.include ::rails::controller::testing::testprocess, :type => type     config.include ::rails::controller::testing::templateassertions, :type => type     config.include ::rails::controller::testing::integration, :type => type   end end 

Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -