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
1c4fe101
Commit
1c4fe101
authored
Jan 07, 2019
by
Logan King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mock error_tracking_setting to fix tests on failing master
parent
8ff4dfe6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ee/spec/views/projects/settings/operations/show.html.haml_spec.rb
...views/projects/settings/operations/show.html.haml_spec.rb
+2
-0
No files found.
ee/spec/views/projects/settings/operations/show.html.haml_spec.rb
View file @
1c4fe101
...
@@ -4,11 +4,13 @@ require 'spec_helper'
...
@@ -4,11 +4,13 @@ require 'spec_helper'
describe
'projects/settings/operations/show'
do
describe
'projects/settings/operations/show'
do
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:error_tracking_setting
)
{
create
(
:project_error_tracking_setting
,
project:
project
)
}
before
do
before
do
assign
(
:project
,
project
)
assign
(
:project
,
project
)
assign
(
:repository
,
project
.
repository
)
assign
(
:repository
,
project
.
repository
)
allow
(
view
).
to
receive
(
:current_ref
).
and_return
(
'master'
)
allow
(
view
).
to
receive
(
:current_ref
).
and_return
(
'master'
)
allow
(
view
).
to
receive
(
:error_tracking_setting
).
and_return
(
error_tracking_setting
)
stub_licensed_features
(
tracing:
true
)
stub_licensed_features
(
tracing:
true
)
end
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