Cheogram should not save the route since signup is not done

Stephen Paul Weber created

Change summary

lib/registration.rb       | 4 ++--
test/test_registration.rb | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

Detailed changes

lib/registration.rb 🔗

@@ -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

test/test_registration.rb 🔗

@@ -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