mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
15 lines
472 B
Ruby
15 lines
472 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Devise
|
|
module TestHelpers
|
|
def self.included(base)
|
|
base.class_eval do
|
|
ActiveSupport::Deprecation.warn <<-DEPRECATION.strip_heredoc
|
|
[Devise] including `Devise::TestHelpers` is deprecated and will be removed from Devise.
|
|
For controller tests, please include `Devise::Test::ControllerHelpers` instead.
|
|
DEPRECATION
|
|
include Devise::Test::ControllerHelpers
|
|
end
|
|
end
|
|
end
|
|
end
|