Sha256: f8c87fd9724bb740755426b375c8ce512e2d0b3d10923da850ab1af2913f3161
Contents?: true
Size: 522 Bytes
Versions: 25
Compression:
Stored size: 522 Bytes
Contents
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
25 entries across 25 versions & 5 rubygems