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
e6bdf4fd
Commit
e6bdf4fd
authored
May 02, 2017
by
Kim Carlbäcker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve spec/models/repository_spec.rb
parent
3cdcca5c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
spec/models/repository_spec.rb
spec/models/repository_spec.rb
+0
-16
No files found.
spec/models/repository_spec.rb
View file @
e6bdf4fd
...
...
@@ -1992,7 +1992,6 @@ describe Repository, models: true do
end
end
<<<<<<<
HEAD
describe
'#after_sync'
do
it
'expires repository cache'
do
expect
(
repository
).
to
receive
(
:expire_all_method_caches
)
...
...
@@ -2008,20 +2007,6 @@ describe Repository, models: true do
rugged
.
references
.
create
(
"refs/remotes/
#{
remote_name
}
/
#{
branch_name
}
"
,
target
.
id
)
end
# TODO: Uncomment when feature is reenabled
# describe '#is_ancestor?' do
# context 'Gitaly is_ancestor feature enabled' do
# it 'asks Gitaly server if it\'s an ancestor' do
# commit = repository.commit
# allow(Gitlab::GitalyClient).to receive(:feature_enabled?).with(:is_ancestor).and_return(true)
# expect(Gitlab::GitalyClient::Commit).to receive(:is_ancestor).
# with(repository.raw_repository, commit.id, commit.id).and_return(true)
#
# expect(repository.is_ancestor?(commit.id, commit.id)).to be true
# end
# end
# end
=======
describe
'#is_ancestor?'
do
context
'Gitaly is_ancestor feature enabled'
do
it
"asks Gitaly server if it's an ancestor"
do
...
...
@@ -2033,5 +2018,4 @@ describe Repository, models: true do
end
end
end
>>>>>>>
ce
-
com
/
master
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