Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4a564698
Commit
4a564698
authored
Apr 19, 2020
by
Rachel Fox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed two typos
parent
03f1d4a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/requests/api/project_milestones_spec.rb
spec/requests/api/project_milestones_spec.rb
+2
-2
No files found.
spec/requests/api/project_milestones_spec.rb
View file @
4a564698
...
@@ -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 a
n
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 resource
s
'
do
context
'when no such resource'
do
before
do
before
do
group
.
add_developer
(
user
)
group
.
add_developer
(
user
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment