Sha256: 5f2c1a6405e33807f727a3278053df8fbb08d7aa9eb3d807ecadf959b3a7f1e3
Contents?: true
Size: 553 Bytes
Versions: 5
Compression:
Stored size: 553 Bytes
Contents
# frozen_string_literal: true class Custom::RegistrationsController < Devise::RegistrationsController def new super do |resource| @new_block_called = true end end def create super do |resource| @create_block_called = true end end def update super do |resource| @update_block_called = true end end def create_block_called? @create_block_called == true end def update_block_called? @update_block_called == true end def new_block_called? @new_block_called == true end end
Version data entries
5 entries across 5 versions & 1 rubygems