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
Post a Comment