diff options
author | Robert Speicher <robert@gitlab.com> | 2017-04-18 04:47:27 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-04-18 04:47:27 +0300 |
commit | 2b934a7f43feff6889b51a1cd2aadc9afb3f25d8 (patch) | |
tree | 3f7581811c69908f6873bc1ae243a6dc839e8cf9 /spec | |
parent | 60196e8bcce1b74d5dee8021f3c69aa8e0aff717 (diff) | |
parent | d6f49b85f1cdba077f0046534314ed562a9ed418 (diff) |
Merge branch 'dm-git-blob-sizes' into 'master'
Normalize sizes in Gitlab::Git::Blob
See merge request !10742
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/git/blob_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/git/blob_spec.rb b/spec/lib/gitlab/git/blob_spec.rb index 3f494257545..e6a07a58d73 100644 --- a/spec/lib/gitlab/git/blob_spec.rb +++ b/spec/lib/gitlab/git/blob_spec.rb @@ -234,7 +234,7 @@ describe Gitlab::Git::Blob, seed_helper: true do it { expect(blob.lfs_pointer?).to eq(true) } 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.name).to eq("image.jpg") } it { expect(blob.path).to eq("files/lfs/image.jpg") } @@ -273,7 +273,7 @@ describe Gitlab::Git::Blob, seed_helper: true do it { expect(blob.lfs_pointer?).to eq(false) } 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.name).to eq("picture-invalid.png") } it { expect(blob.path).to eq("files/lfs/picture-invalid.png") } |