Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
77dd0530
Commit
77dd0530
authored
Jan 10, 2022
by
Doug Stull
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add state to trial lead service
- for tracking of state on leads.
parent
96110427
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
ee/app/controllers/trials_controller.rb
ee/app/controllers/trials_controller.rb
+1
-1
ee/spec/controllers/trials_controller_spec.rb
ee/spec/controllers/trials_controller_spec.rb
+4
-2
No files found.
ee/app/controllers/trials_controller.rb
View file @
77dd0530
...
...
@@ -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
...
...
ee/spec/controllers/trials_controller_spec.rb
View file @
77dd0530
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment