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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
a6e312bf
Commit
a6e312bf
authored
Jul 21, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated wording in the specs
parent
48a360f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
spec/features/issues/form_spec.rb
spec/features/issues/form_spec.rb
+2
-2
spec/features/merge_requests/form_spec.rb
spec/features/merge_requests/form_spec.rb
+4
-4
No files found.
spec/features/issues/form_spec.rb
View file @
a6e312bf
...
...
@@ -18,7 +18,7 @@ describe 'New/edit issue', feature: true, js: true do
visit
new_namespace_project_issue_path
(
project
.
namespace
,
project
)
end
it
'
should allow
user to create new issue'
do
it
'
allows
user to create new issue'
do
fill_in
'issue_title'
,
with:
'title'
fill_in
'issue_description'
,
with:
'title'
...
...
@@ -75,7 +75,7 @@ describe 'New/edit issue', feature: true, js: true do
visit
edit_namespace_project_issue_path
(
project
.
namespace
,
project
,
issue
)
end
it
'
should allow
user to update issue'
do
it
'
allows
user to update issue'
do
expect
(
find
(
'input[name="issue[assignee_id]"]'
,
visible:
false
).
value
).
to
match
(
user
.
id
.
to_s
)
expect
(
find
(
'input[name="issue[milestone_id]"]'
,
visible:
false
).
value
).
to
match
(
milestone
.
id
.
to_s
)
...
...
spec/features/merge_requests/form_spec.rb
View file @
a6e312bf
...
...
@@ -16,7 +16,7 @@ describe 'New/edit merge request', feature: true, js: true do
before
do
login_as
(
user
)
end
context
'new merge request'
do
before
do
visit
new_namespace_project_merge_request_path
(
...
...
@@ -30,7 +30,7 @@ describe 'New/edit merge request', feature: true, js: true do
})
end
it
'
should create
new merge request'
do
it
'
creates
new merge request'
do
click_button
'Assignee'
page
.
within
'.dropdown-menu-user'
do
click_link
user
.
name
...
...
@@ -91,7 +91,7 @@ describe 'New/edit merge request', feature: true, js: true do
visit
edit_namespace_project_merge_request_path
(
project
.
namespace
,
project
,
merge_request
)
end
it
'
should update
merge request'
do
it
'
updates
merge request'
do
click_button
'Assignee'
page
.
within
'.dropdown-menu-user'
do
click_link
user
.
name
...
...
@@ -160,7 +160,7 @@ describe 'New/edit merge request', feature: true, js: true do
})
end
it
'
should create
new merge request'
do
it
'
creates
new merge request'
do
click_button
'Assignee'
page
.
within
'.dropdown-menu-user'
do
click_link
user
.
name
...
...
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