diff options
author | James Lopez <james@jameslopez.es> | 2016-02-24 15:54:36 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-02-24 15:54:36 +0100 |
commit | d377948931fddc27b51993b0400af7385e15a8b4 (patch) | |
tree | e4fef5880dbc21d24bc3d4adf7b121b3f5106689 /spec | |
parent | d74cfe7db312acff527bef9d7894f894efdd3751 (diff) | |
download | gitlab-ce-d377948931fddc27b51993b0400af7385e15a8b4.tar.gz |
fix for projects ending in .wiki
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/api/internal_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/requests/api/internal_spec.rb b/spec/requests/api/internal_spec.rb index 8d0ae1475c2..d47474d761c 100644 --- a/spec/requests/api/internal_spec.rb +++ b/spec/requests/api/internal_spec.rb @@ -54,6 +54,16 @@ describe API::API, api: true do project.team << [user, :developer] end + context "git push with project.wiki" do + let(:project) { create(:project, name: 'my.wiki', path: 'my.wiki') } + it do + push(key, project) + + expect(response.status).to eq(200) + expect(json_response["status"]).to be_truthy + end + end + context "git pull" do it do pull(key, project) |