ENV variable values are set in config/application.yml in a rails app. is it possible to change only for specific test case in ActionDispatch::IntegrationTest? Something like this:
class DummyTest < ActionDispatch::IntegrationTest
context '...' do
it '...' do
ENV['API_URL'] = ...
end
end
end
I have tried this but it doesn't seem to change anything. Thanks