diff options
author | Jacob Vosmaer (GitLab) <jacob@gitlab.com> | 2018-02-22 03:20:30 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2018-02-22 03:20:30 +0300 |
commit | ea18e1bf287800825f12e87cf3160e90cc2046d9 (patch) | |
tree | cfffc98c587f5f69279a9e7853a546e9490e5dfe /spec/requests/api/internal_spec.rb | |
parent | a5b7f27373550f0c7d3e302cc537e74e36b1a6ed (diff) |
Fix repo existence check in GitAccessWiki
Diffstat (limited to 'spec/requests/api/internal_spec.rb')
-rw-r--r-- | spec/requests/api/internal_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/internal_spec.rb b/spec/requests/api/internal_spec.rb index c7df6251d74..827f4c04324 100644 --- a/spec/requests/api/internal_spec.rb +++ b/spec/requests/api/internal_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe API::Internal do let(:user) { create(:user) } let(:key) { create(:key, user: user) } - let(:project) { create(:project, :repository) } + let(:project) { create(:project, :repository, :wiki_repo) } let(:secret_token) { Gitlab::Shell.secret_token } let(:gl_repository) { "project-#{project.id}" } let(:reference_counter) { double('ReferenceCounter') } |