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
3e701bac
Commit
3e701bac
authored
Jan 31, 2018
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix specs
parent
6652f28f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
db/migrate/20180131083552_create_web_ide_metrics.rb
db/migrate/20180131083552_create_web_ide_metrics.rb
+2
-0
spec/requests/api/commits_spec.rb
spec/requests/api/commits_spec.rb
+1
-1
No files found.
db/migrate/20180131083552_create_web_ide_metrics.rb
View file @
3e701bac
class
CreateWebIdeMetrics
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
create_table
:web_ide_metrics
do
|
t
|
t
.
string
:project
,
null:
false
,
limit:
64
...
...
spec/requests/api/commits_spec.rb
View file @
3e701bac
...
...
@@ -248,7 +248,7 @@ describe API::Commits do
it
'does not call the metrics using access token authentication'
do
stub_licensed_features
(
ide:
true
)
post
api
(
url
,
user
),
valid_c_params
s
post
api
(
url
,
user
),
valid_c_params
expect_any_instance_of
(
::
Gitlab
::
Metrics
::
MultiFileEditor
).
not_to
receive
(
:record
)
end
...
...
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