Commit 4a564698 authored by Rachel Fox's avatar Rachel Fox

fixed two typos

parent 03f1d4a0
...@@ -44,7 +44,7 @@ describe API::ProjectMilestones do ...@@ -44,7 +44,7 @@ describe API::ProjectMilestones do
end end
describe 'PUT /projects/:id/milestones/:milestone_id to test observer on close' do describe 'PUT /projects/:id/milestones/:milestone_id to test observer on close' do
it 'creates an activity event when an milestone is closed' do it 'creates an activity event when a milestone is closed' do
expect(Event).to receive(:create!) expect(Event).to receive(:create!)
put api("/projects/#{project.id}/milestones/#{milestone.id}", user), put api("/projects/#{project.id}/milestones/#{milestone.id}", user),
...@@ -91,7 +91,7 @@ describe API::ProjectMilestones do ...@@ -91,7 +91,7 @@ describe API::ProjectMilestones do
end end
end end
context 'when no such resources' do context 'when no such resource' do
before do before do
group.add_developer(user) group.add_developer(user)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment