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
617cb171
Commit
617cb171
authored
Apr 15, 2021
by
Markus Koller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'remove-unneeded-stub' into 'master'
Remove unneeded stub See merge request gitlab-org/gitlab!59359
parents
65e14f32
637b141d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
ee/spec/features/epics/epic_issues_spec.rb
ee/spec/features/epics/epic_issues_spec.rb
+0
-1
ee/spec/services/epic_links/create_service_spec.rb
ee/spec/services/epic_links/create_service_spec.rb
+0
-4
No files found.
ee/spec/features/epics/epic_issues_spec.rb
View file @
617cb171
...
@@ -30,7 +30,6 @@ RSpec.describe 'Epic Issues', :js do
...
@@ -30,7 +30,6 @@ RSpec.describe 'Epic Issues', :js do
before
do
before
do
stub_licensed_features
(
epics:
true
,
subepics:
true
)
stub_licensed_features
(
epics:
true
,
subepics:
true
)
stub_const
(
'Epic'
,
::
Epic
,
transfer_nested_constants:
true
)
end
end
def
visit_epic
def
visit_epic
...
...
ee/spec/services/epic_links/create_service_spec.rb
View file @
617cb171
...
@@ -15,10 +15,6 @@ RSpec.describe EpicLinks::CreateService do
...
@@ -15,10 +15,6 @@ RSpec.describe EpicLinks::CreateService do
let
(
:valid_reference
)
{
epic_to_add
.
to_reference
(
full:
true
)
}
let
(
:valid_reference
)
{
epic_to_add
.
to_reference
(
full:
true
)
}
before
do
stub_const
(
'Epic'
,
::
Epic
,
transfer_nested_constants:
true
)
end
shared_examples
'system notes created'
do
shared_examples
'system notes created'
do
it
'creates system notes'
do
it
'creates system notes'
do
expect
{
subject
}.
to
change
{
Note
.
system
.
count
}.
from
(
0
).
to
(
2
)
expect
{
subject
}.
to
change
{
Note
.
system
.
count
}.
from
(
0
).
to
(
2
)
...
...
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