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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
d6f49b85
Commit
d6f49b85
authored
Apr 17, 2017
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs
parent
d40970bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/lib/gitlab/git/blob_spec.rb
spec/lib/gitlab/git/blob_spec.rb
+2
-2
No files found.
spec/lib/gitlab/git/blob_spec.rb
View file @
d6f49b85
...
@@ -234,7 +234,7 @@ describe Gitlab::Git::Blob, seed_helper: true do
...
@@ -234,7 +234,7 @@ describe Gitlab::Git::Blob, seed_helper: true do
it
{
expect
(
blob
.
lfs_pointer?
).
to
eq
(
true
)
}
it
{
expect
(
blob
.
lfs_pointer?
).
to
eq
(
true
)
}
it
{
expect
(
blob
.
lfs_oid
).
to
eq
(
"4206f951d2691c78aac4c0ce9f2b23580b2c92cdcc4336e1028742c0274938e0"
)
}
it
{
expect
(
blob
.
lfs_oid
).
to
eq
(
"4206f951d2691c78aac4c0ce9f2b23580b2c92cdcc4336e1028742c0274938e0"
)
}
it
{
expect
(
blob
.
lfs_size
).
to
eq
(
"19548"
)
}
it
{
expect
(
blob
.
lfs_size
).
to
eq
(
19548
)
}
it
{
expect
(
blob
.
id
).
to
eq
(
"f4d76af13003d1106be7ac8c5a2a3d37ddf32c2a"
)
}
it
{
expect
(
blob
.
id
).
to
eq
(
"f4d76af13003d1106be7ac8c5a2a3d37ddf32c2a"
)
}
it
{
expect
(
blob
.
name
).
to
eq
(
"image.jpg"
)
}
it
{
expect
(
blob
.
name
).
to
eq
(
"image.jpg"
)
}
it
{
expect
(
blob
.
path
).
to
eq
(
"files/lfs/image.jpg"
)
}
it
{
expect
(
blob
.
path
).
to
eq
(
"files/lfs/image.jpg"
)
}
...
@@ -273,7 +273,7 @@ describe Gitlab::Git::Blob, seed_helper: true do
...
@@ -273,7 +273,7 @@ describe Gitlab::Git::Blob, seed_helper: true do
it
{
expect
(
blob
.
lfs_pointer?
).
to
eq
(
false
)
}
it
{
expect
(
blob
.
lfs_pointer?
).
to
eq
(
false
)
}
it
{
expect
(
blob
.
lfs_oid
).
to
eq
(
nil
)
}
it
{
expect
(
blob
.
lfs_oid
).
to
eq
(
nil
)
}
it
{
expect
(
blob
.
lfs_size
).
to
eq
(
"1575078"
)
}
it
{
expect
(
blob
.
lfs_size
).
to
eq
(
1575078
)
}
it
{
expect
(
blob
.
id
).
to
eq
(
"5ae35296e1f95c1ef9feda1241477ed29a448572"
)
}
it
{
expect
(
blob
.
id
).
to
eq
(
"5ae35296e1f95c1ef9feda1241477ed29a448572"
)
}
it
{
expect
(
blob
.
name
).
to
eq
(
"picture-invalid.png"
)
}
it
{
expect
(
blob
.
name
).
to
eq
(
"picture-invalid.png"
)
}
it
{
expect
(
blob
.
path
).
to
eq
(
"files/lfs/picture-invalid.png"
)
}
it
{
expect
(
blob
.
path
).
to
eq
(
"files/lfs/picture-invalid.png"
)
}
...
...
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