summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/git/attributes_spec.rb
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-02-15 23:08:30 -0300
committerJacob Vosmaer <jacob@gitlab.com>2017-04-04 16:53:44 +0200
commit267cd3e3594dcb1555b5018723f3cc620873499d (patch)
tree323bdac4cd84427ed64b9d2a0065eff9e762c340 /spec/lib/gitlab/git/attributes_spec.rb
parent3301f4a22b685975d664ea8abdd7c43b3e929e5a (diff)
downloadgitlab-ce-267cd3e3594dcb1555b5018723f3cc620873499d.tar.gz
Incorporate Gitaly client for refs service
Diffstat (limited to 'spec/lib/gitlab/git/attributes_spec.rb')
-rw-r--r--spec/lib/gitlab/git/attributes_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/git/attributes_spec.rb b/spec/lib/gitlab/git/attributes_spec.rb
index 9c011e34c11..1cfd8db09a5 100644
--- a/spec/lib/gitlab/git/attributes_spec.rb
+++ b/spec/lib/gitlab/git/attributes_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
describe Gitlab::Git::Attributes, seed_helper: true do
let(:path) do
- File.join(SEED_REPOSITORY_PATH, 'with-git-attributes.git')
+ File.join(SEED_STORAGE_PATH, 'with-git-attributes.git')
end
subject { described_class.new(path) }
@@ -141,7 +141,7 @@ describe Gitlab::Git::Attributes, seed_helper: true do
end
it 'does not yield when the attributes file has an unsupported encoding' do
- path = File.join(SEED_REPOSITORY_PATH, 'with-invalid-git-attributes.git')
+ path = File.join(SEED_STORAGE_PATH, 'with-invalid-git-attributes.git')
attrs = described_class.new(path)
expect { |b| attrs.each_line(&b) }.not_to yield_control