Commit 77dd0530 authored by Doug Stull's avatar Doug Stull

Add state to trial lead service

- for tracking of state on leads.
parent 96110427
......@@ -131,7 +131,7 @@ class TrialsController < ApplicationController
def company_params
params.permit(:company_name, :company_size, :first_name, :last_name, :phone_number,
:country, :glm_content, :glm_source).merge(extra_params)
:country, :state, :glm_content, :glm_source).merge(extra_params)
end
def extra_params
......
......@@ -184,7 +184,8 @@ RSpec.describe TrialsController, :saas do
first_name: user.first_name,
last_name: user.last_name,
phone_number: '1111111111',
country: 'IN',
country: 'US',
state: 'CA',
glm_content: 'free-billing',
glm_source: 'about.gitlab.com'
}
......@@ -209,7 +210,8 @@ RSpec.describe TrialsController, :saas do
first_name: user.first_name,
last_name: user.last_name,
phone_number: '1111111111',
country: 'IN',
country: 'US',
state: 'CA',
glm_content: 'free-billing',
glm_source: 'about.gitlab.com',
work_email: user.email,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment