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
2f50246e
Commit
2f50246e
authored
Nov 20, 2018
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve spec/models/project_wiki_spec.rb
parent
6bbad934
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
spec/models/project_wiki_spec.rb
spec/models/project_wiki_spec.rb
+0
-16
No files found.
spec/models/project_wiki_spec.rb
View file @
2f50246e
...
...
@@ -220,19 +220,11 @@ describe ProjectWiki do
before
do
subject
.
wiki
# Make sure the wiki repo exists
<<<<<<<
HEAD
repo_path
=
Gitlab
::
GitalyClient
::
StorageSettings
.
allow_disk_access
do
subject
.
repository
.
path_to_repo
end
=======
repo_path
=
Gitlab
::
GitalyClient
::
StorageSettings
.
allow_disk_access
do
subject
.
repository
.
path_to_repo
end
>>>>>>>
upstream
/
master
BareRepoOperations
.
new
(
repo_path
).
commit_file
(
image
,
'image.png'
)
end
...
...
@@ -249,19 +241,11 @@ describe ProjectWiki do
file
=
subject
.
find_file
(
'image.png'
)
expect
(
file
).
to
be_a
Gitlab
::
Git
::
WikiFile
end
<<<<<<<
HEAD
it
'returns the whole file'
do
file
=
subject
.
find_file
(
'image.png'
)
image
.
rewind
=======
it
'returns the whole file'
do
file
=
subject
.
find_file
(
'image.png'
)
image
.
rewind
>>>>>>>
upstream
/
master
expect
(
file
.
raw_data
.
b
).
to
eq
(
image
.
read
.
b
)
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