summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-04-03 15:59:24 +0000
committerDouwe Maan <douwe@gitlab.com>2017-04-03 15:59:24 +0000
commitb2700e64cce7c9b258e117a995eda8de00a8a988 (patch)
treee71328d46ad2e58c964dbd2bc3e15e33c458245d /spec
parent2fceb4374141407b2f41ed7b6af5a0b6a2f9f4f1 (diff)
parented5d59d4c4b6ac092223774a859fbaa3bf9c3699 (diff)
downloadgitlab-ce-b2700e64cce7c9b258e117a995eda8de00a8a988.tar.gz
Merge branch '22303-symbolic-in-tree' into 'master'
#22303 fix mode representation git::tree ( in base 8 ) Closes #22303 See merge request !9780
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/git/tree_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/gitlab/git/tree_spec.rb b/spec/lib/gitlab/git/tree_spec.rb
index 83d2ff8f9b3..82685712b5b 100644
--- a/spec/lib/gitlab/git/tree_spec.rb
+++ b/spec/lib/gitlab/git/tree_spec.rb
@@ -19,6 +19,7 @@ describe Gitlab::Git::Tree, seed_helper: true do
it { expect(dir.commit_id).to eq(SeedRepo::Commit::ID) }
it { expect(dir.name).to eq('encoding') }
it { expect(dir.path).to eq('encoding') }
+ it { expect(dir.mode).to eq('40000') }
context :subdir do
let(:subdir) { Gitlab::Git::Tree.where(repository, SeedRepo::Commit::ID, 'files').first }