demarches-normaliennes/spec/support/webmock.rb
Pierre de La Morinerie f9401cfbad spec: better split spec_helper and rails_helper
This fixes the

> DEPRECATION WARNING: Initialization autoloaded the constants ActionText::ContentHelper and ActionText::TagHelper.

error appearing when running specs.

It also gets us closer from a newly-generated rails config.
2021-03-04 22:59:39 +01:00

3 lines
77 B
Ruby

require 'webmock/rspec'
WebMock.disable_net_connect!(allow_localhost: true)