Commit 2dc0f098fdfe1d07e557f7da92b3cff9d7351276
1 parent
c6102063
Exists in
master
and in
4 other branches
fix typos in specs
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
spec/requests/api/projects_spec.rb
... | ... | @@ -46,7 +46,7 @@ describe Gitlab::API do |
46 | 46 | response.status.should == 201 |
47 | 47 | end |
48 | 48 | |
49 | - it "should repsond with 404 on failure" do | |
49 | + it "should respond with 404 on failure" do | |
50 | 50 | post api("/projects", user) |
51 | 51 | response.status.should == 404 |
52 | 52 | end |
... | ... | @@ -188,7 +188,7 @@ describe Gitlab::API do |
188 | 188 | }.to change {project.hooks.count}.by(1) |
189 | 189 | end |
190 | 190 | end |
191 | - | |
191 | + | |
192 | 192 | describe "PUT /projects/:id/hooks/:hook_id" do |
193 | 193 | it "should update an existing project hook" do |
194 | 194 | put api("/projects/#{project.code}/hooks/#{hook.id}", user), |
... | ... | @@ -197,7 +197,7 @@ describe Gitlab::API do |
197 | 197 | json_response['url'].should == 'http://example.com' |
198 | 198 | end |
199 | 199 | end |
200 | - | |
200 | + | |
201 | 201 | |
202 | 202 | describe "DELETE /projects/:id/hooks" do |
203 | 203 | it "should delete hook from project" do |
... | ... | @@ -239,7 +239,7 @@ describe Gitlab::API do |
239 | 239 | end |
240 | 240 | |
241 | 241 | describe "GET /projects/:id/snippets" do |
242 | - it "should return a project snippet" do | |
242 | + it "should return an array of project snippets" do | |
243 | 243 | get api("/projects/#{project.code}/snippets", user) |
244 | 244 | response.status.should == 200 |
245 | 245 | json_response.should be_an Array | ... | ... |