M lib/registration.rb => lib/registration.rb +2 -2
@@ 171,7 171,7 @@ class Registration
def initialize(iq, customer, tel)
@reply = iq.reply
reply.note_type = :info
- reply.status = :completed
+ reply.status = :canceled
@customer = customer
@customer_id = customer.customer_id
@@ 412,7 412,7 @@ class Registration
def initialize(iq, _customer, _tel)
@reply = iq.reply
- @reply.status = :completed
+ @reply.status = :canceled
end
def form
M test/test_registration.rb => test/test_registration.rb +1 -1
@@ 200,7 200,7 @@ class RegistrationTest < Minitest::Test
:<<,
nil,
[Matching.new do |reply|
- assert_equal :completed, reply.status
+ assert_equal :canceled, reply.status
assert_equal :info, reply.note_type
assert_equal reply_text, reply.note.content
true