Stub Rails.configuration instead of changing it directly