Had the same error… read this article by Thoughtbot and fixed it in a slightly different way… but as we all have found out…
“Modules must be explicitly included to share the common code between integration tests.” – from the post
per the article, I created a file "spec/support/features.rb and put the configure block in it:
RSpec.configure do |config|
config.include Features, type: :feature
end