mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
parent
18caeb796f
commit
b702bcbd86
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
class RegistrantPresenter
|
||||
delegate :name, :ident, :email, :priv?, :street, :city, :id_code, to: :registrant
|
||||
delegate :name, :ident, :email, :priv?, :street, :city, :id_code, :reg_no, to: :registrant
|
||||
|
||||
def initialize(registrant:, view:)
|
||||
@registrant = registrant
|
||||
|
|
|
@ -12,6 +12,7 @@ RSpec.describe RegistrantPresenter do
|
|||
street
|
||||
city
|
||||
id_code
|
||||
reg_no
|
||||
)
|
||||
|
||||
registrant_delegate_attributes.each do |attribute_name|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue