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
a379eb99
Commit
a379eb99
authored
Apr 24, 2018
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts in spec/factories/projects.rb
parent
9cb21bf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/factories/projects.rb
spec/factories/projects.rb
+3
-3
No files found.
spec/factories/projects.rb
View file @
a379eb99
...
@@ -183,7 +183,6 @@ FactoryBot.define do
...
@@ -183,7 +183,6 @@ FactoryBot.define do
end
end
end
end
<<<<<<<
HEAD
trait
:remote_mirror
do
trait
:remote_mirror
do
transient
do
transient
do
remote_name
"remote_mirror_
#{
SecureRandom
.
hex
}
"
remote_name
"remote_mirror_
#{
SecureRandom
.
hex
}
"
...
@@ -193,12 +192,13 @@ FactoryBot.define do
...
@@ -193,12 +192,13 @@ FactoryBot.define do
after
(
:create
)
do
|
project
,
evaluator
|
after
(
:create
)
do
|
project
,
evaluator
|
project
.
remote_mirrors
.
create!
(
url:
evaluator
.
url
,
enabled:
evaluator
.
enabled
)
project
.
remote_mirrors
.
create!
(
url:
evaluator
.
url
,
enabled:
evaluator
.
enabled
)
=======
end
end
trait
:stubbed_repository
do
trait
:stubbed_repository
do
after
(
:build
)
do
|
project
|
after
(
:build
)
do
|
project
|
allow
(
project
).
to
receive
(
:empty_repo?
).
and_return
(
false
)
allow
(
project
).
to
receive
(
:empty_repo?
).
and_return
(
false
)
allow
(
project
.
repository
).
to
receive
(
:empty?
).
and_return
(
false
)
allow
(
project
.
repository
).
to
receive
(
:empty?
).
and_return
(
false
)
>>>>>>>
upstream
/
master
end
end
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