diff --git a/app/controllers/marketing_redesign/opportunities_controller.rb b/app/controllers/marketing_redesign/opportunities_controller.rb index 8405fe057..96780d713 100644 --- a/app/controllers/marketing_redesign/opportunities_controller.rb +++ b/app/controllers/marketing_redesign/opportunities_controller.rb @@ -10,7 +10,8 @@ def create Hub::Opportunities.create({ **opportunity_params, conversion_point: HUB_CONVERSION_POINT, - project_type: HUB_PROJECT_TYPE + project_type: HUB_PROJECT_TYPE, + inbound: true }) redirect_to( {action: :show} diff --git a/spec/controllers/marketing_redesign/opportunities_controller_spec.rb b/spec/controllers/marketing_redesign/opportunities_controller_spec.rb index 0b59df76d..e537bd9cb 100644 --- a/spec/controllers/marketing_redesign/opportunities_controller_spec.rb +++ b/spec/controllers/marketing_redesign/opportunities_controller_spec.rb @@ -33,6 +33,7 @@ "email" => "example@example.com", "company_name" => "Example Company", "contact_job_title" => "Example Job Title", + :inbound => true, :conversion_point => be_present, :project_type => be_present })