1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00
heartcombo--devise/test/rails_test.rb

12 lines
359 B
Ruby
Raw Normal View History

# 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