Sha256: 7e10bcd7132330e86bec460736f63a78e05dc1730295d8c9ad51edfc935fa93b

Contents?: true

Size: 624 Bytes

Versions: 5

Compression:

Stored size: 624 Bytes

Contents

# frozen_string_literal: true

class ApplicationWithFakeEngine < ApplicationController
  private

  helper_method :fake_engine
  def fake_engine
    @fake_engine ||= FakeEngine.new
  end
end

class FakeEngine
  def user_on_engine_confirmation_path
    '/user_on_engine/confirmation'
  end

  def new_user_on_engine_session_path
    '/user_on_engine/confirmation/new'
  end

  def new_user_on_engine_registration_path
    '/user_on_engine/registration/new'
  end

  def new_user_on_engine_password_path
    '/user_on_engine/password/new'
  end

  def new_user_on_engine_unlock_path
    '/user_on_engine/unlock/new'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
devise-4.5.0 test/rails_app/app/controllers/application_with_fake_engine.rb
devise-4.4.3 test/rails_app/app/controllers/application_with_fake_engine.rb
devise-4.4.2 test/rails_app/app/controllers/application_with_fake_engine.rb
devise-4.4.1 test/rails_app/app/controllers/application_with_fake_engine.rb
devise-4.4.0 test/rails_app/app/controllers/application_with_fake_engine.rb