RailsApps / learn-rails

An example Rails 5.1 app to accompany the "Learn Ruby on Rails" book.
https://learn-rails.com/install-rails-mac/index.html
392 stars 266 forks source link

NoMethodError: undefined method `feature' for main:Object #105

Open simoncal-saas opened 7 years ago

simoncal-saas commented 7 years ago

Refer to Book II Version 4.1.0, Chapter 24, Testing/Run Tests/troubleshooting. To fix subject error, following statement should be added to learn-rails/test/test_helper.rb:

require "minitest/rails/capybara"

Issue also applicable to Application (Code) V4.1.0.