diff options
author | Ian Baum <ibaum@gitlab.com> | 2018-02-24 00:24:59 +0300 |
---|---|---|
committer | Ian Baum <ibaum@gitlab.com> | 2018-02-24 00:24:59 +0300 |
commit | 2542be55d9bdf7442c663fff45e8eaadfabf4c80 (patch) | |
tree | 017f7b355e2130c1f6dc6acdc68bc510f6c5597a /spec | |
parent | f995621fdfeb94a43a4fe9595ce1d2d87c631a69 (diff) |
Revert "Merge branch 'zj-unit-test-gitaly-arrays' into 'master'"
This reverts commit 3a91c166743f914a2db7a4d8c5bc7af637d3aff4.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/git/blob_spec.rb | 1 | ||||
-rw-r--r-- | spec/lib/gitlab/git/commit_spec.rb | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/spec/lib/gitlab/git/blob_spec.rb b/spec/lib/gitlab/git/blob_spec.rb index a6341cd509b..59e9e1cc94c 100644 --- a/spec/lib/gitlab/git/blob_spec.rb +++ b/spec/lib/gitlab/git/blob_spec.rb @@ -276,7 +276,6 @@ describe Gitlab::Git::Blob, seed_helper: true do expect(blobs.count).to eq(1) expect(blobs).to all( be_a(Gitlab::Git::Blob) ) - expect(blobs).to be_an(Array) end it 'accepts blob IDs as a lazy enumerator' do diff --git a/spec/lib/gitlab/git/commit_spec.rb b/spec/lib/gitlab/git/commit_spec.rb index 0b20a6349a2..85e6efd7ca2 100644 --- a/spec/lib/gitlab/git/commit_spec.rb +++ b/spec/lib/gitlab/git/commit_spec.rb @@ -102,10 +102,6 @@ describe Gitlab::Git::Commit, seed_helper: true do expect(described_class.find(repository, SeedRepo::Commit::ID)).to be_valid_commit end - it "returns an array of parent ids" do - expect(described_class.find(repository, SeedRepo::Commit::ID).parent_ids).to be_an(Array) - end - it "should return valid commit for tag" do expect(described_class.find(repository, 'v1.0.0').id).to eq('6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9') end |