Fixup for HoundCI.

This commit is contained in:
Sean Edge 2014-05-26 12:32:01 -04:00
parent 446e920a1b
commit 435740b8a2

View file

@ -33,7 +33,7 @@ describe API::API, api: true do
json_response.first['name'].should == 'v1.0.0' json_response.first['name'].should == 'v1.0.0'
json_response['commit']['id'].should == '621491c677087aa243f165eab467bfdfbee00be1' json_response['commit']['id'].should == '621491c677087aa243f165eab467bfdfbee00be1'
end end
it "should deny for user without push access" do it 'should deny for user without push access' do
post api("/projects/#{project.id}/repository/tags", user2), post api("/projects/#{project.id}/repository/tags", user2),
tag_name: 'v1.0.0', tag_name: 'v1.0.0',
ref: '621491c677087aa243f165eab467bfdfbee00be1' ref: '621491c677087aa243f165eab467bfdfbee00be1'