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
cecf041a
Commit
cecf041a
authored
Apr 07, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts in spec/migrations/remove_soft_removed_objects_spec.rb
parent
e46dc315
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
spec/migrations/remove_soft_removed_objects_spec.rb
spec/migrations/remove_soft_removed_objects_spec.rb
+0
-8
No files found.
spec/migrations/remove_soft_removed_objects_spec.rb
View file @
cecf041a
...
@@ -40,12 +40,8 @@ describe RemoveSoftRemovedObjects, :migration do
...
@@ -40,12 +40,8 @@ describe RemoveSoftRemovedObjects, :migration do
it
'removes routes of soft removed personal namespaces'
do
it
'removes routes of soft removed personal namespaces'
do
namespace
=
create_with_deleted_at
(
:namespace
)
namespace
=
create_with_deleted_at
(
:namespace
)
<<<<<<<
HEAD
group
=
groups
.
create!
(
name:
'group'
,
path:
'group_path'
,
type:
'Group'
)
group
=
groups
.
create!
(
name:
'group'
,
path:
'group_path'
,
type:
'Group'
)
routes
.
create!
(
source_id:
group
.
id
,
source_type:
'Group'
,
name:
'group'
,
path:
'group_path'
)
routes
.
create!
(
source_id:
group
.
id
,
source_type:
'Group'
,
name:
'group'
,
path:
'group_path'
)
=======
group
=
create
(
:group
)
# rubocop:disable RSpec/FactoriesInMigrationSpecs
>>>>>>>
upstream
/
master
expect
(
routes
.
where
(
source_id:
namespace
.
id
).
exists?
).
to
eq
(
true
)
expect
(
routes
.
where
(
source_id:
namespace
.
id
).
exists?
).
to
eq
(
true
)
expect
(
routes
.
where
(
source_id:
group
.
id
).
exists?
).
to
eq
(
true
)
expect
(
routes
.
where
(
source_id:
group
.
id
).
exists?
).
to
eq
(
true
)
...
@@ -57,11 +53,7 @@ describe RemoveSoftRemovedObjects, :migration do
...
@@ -57,11 +53,7 @@ describe RemoveSoftRemovedObjects, :migration do
end
end
it
'schedules the removal of soft removed groups'
do
it
'schedules the removal of soft removed groups'
do
<<<<<<<
HEAD
group
=
create_deleted_group
group
=
create_deleted_group
=======
group
=
create_with_deleted_at
(
:group
)
>>>>>>>
upstream
/
master
admin
=
create
(
:user
,
admin:
true
)
# rubocop:disable RSpec/FactoriesInMigrationSpecs
admin
=
create
(
:user
,
admin:
true
)
# rubocop:disable RSpec/FactoriesInMigrationSpecs
expect_any_instance_of
(
GroupDestroyWorker
)
expect_any_instance_of
(
GroupDestroyWorker
)
...
...
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