Hello,
I am trying to include a custom helper module in my test_helper.rb so that I don't need to do it per test.
However re-opening class ActionDispatch::IntegrationTest doesn't do the trick.
Instead I am reopening Capybara::Rails::TestCase to get it to work.
# FIXME: The following does not work
#class ActionDispatch::IntegrationTest
class Capybara::Rails::TestCase
# Include support modules for features
include FeatureHelpers
end
Any idea why my initial approach is not working and a cleaner approach to do this would be much appreciated.
Thanks in advance,
Mark