mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 06:06:45 +00:00
Workaround for devise issue?
This commit is contained in:
parent
c9958a2fe7
commit
1575ca3d02
|
@ -119,6 +119,11 @@ RSpec.configure do |config|
|
||||||
config.include CommandLineHelpers, type: :cli
|
config.include CommandLineHelpers, type: :cli
|
||||||
config.include SystemHelpers, type: :system
|
config.include SystemHelpers, type: :system
|
||||||
|
|
||||||
|
# TODO: Remove when Devise fixes https://github.com/heartcombo/devise/issues/5705
|
||||||
|
config.before do
|
||||||
|
Rails.application.reload_routes_unless_loaded
|
||||||
|
end
|
||||||
|
|
||||||
config.around(:each, use_transactional_tests: false) do |example|
|
config.around(:each, use_transactional_tests: false) do |example|
|
||||||
self.use_transactional_tests = false
|
self.use_transactional_tests = false
|
||||||
example.run
|
example.run
|
||||||
|
|
Loading…
Reference in a new issue