mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
d6972ab264
* Fix test class name * No need for line breaks
9 lines
328 B
Ruby
9 lines
328 B
Ruby
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
|