mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
11 lines
359 B
Ruby
11 lines
359 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'test_helper'
|
|
|
|
class RailsTest < ActiveSupport::TestCase
|
|
test 'correct initializer position' do
|
|
initializer = Devise::Engine.initializers.detect { |i| i.name == 'devise.omniauth' }
|
|
assert_equal :load_config_initializers, initializer.after
|
|
assert_equal :build_middleware_stack, initializer.before
|
|
end
|
|
end
|