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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
e64c3b2b
Commit
e64c3b2b
authored
Dec 20, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
9728ae85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
spec/features/issues_spec.rb
spec/features/issues_spec.rb
+6
-6
No files found.
spec/features/issues_spec.rb
View file @
e64c3b2b
...
@@ -192,9 +192,9 @@ describe "Issues" do
...
@@ -192,9 +192,9 @@ describe "Issues" do
end
end
context
'by unauthorized user'
do
context
'by unauthorized user'
do
let
(
:guest
)
{
create
(
:user
)
}
let
(
:guest
)
{
create
(
:user
)
}
before
:each
do
before
:each
do
project
.
team
<<
[[
guest
],
:guest
]
project
.
team
<<
[[
guest
],
:guest
]
issue
.
assignee
=
@user
issue
.
assignee
=
@user
...
@@ -227,15 +227,15 @@ describe "Issues" do
...
@@ -227,15 +227,15 @@ describe "Issues" do
find
(
'.edit-issue.inline-update'
).
select
(
milestone
.
title
,
from:
'issue_milestone_id'
)
find
(
'.edit-issue.inline-update'
).
select
(
milestone
.
title
,
from:
'issue_milestone_id'
)
click_button
'Update Issue'
click_button
'Update Issue'
page
.
should
have_content
"
and a
ttached to milestone"
page
.
should
have_content
"
A
ttached to milestone"
page
.
has_select?
(
'issue_assignee_id'
,
:selected
=>
milestone
.
title
)
page
.
has_select?
(
'issue_assignee_id'
,
:selected
=>
milestone
.
title
)
end
end
end
end
context
'by unauthorized user'
do
context
'by unauthorized user'
do
let
(
:guest
)
{
create
(
:user
)
}
let
(
:guest
)
{
create
(
:user
)
}
before
:each
do
before
:each
do
project
.
team
<<
[[
guest
],
:guest
]
project
.
team
<<
[[
guest
],
:guest
]
issue
.
milestone
=
milestone
issue
.
milestone
=
milestone
...
@@ -248,7 +248,7 @@ describe "Issues" do
...
@@ -248,7 +248,7 @@ describe "Issues" do
visit
project_issue_path
(
project
,
issue
)
visit
project_issue_path
(
project
,
issue
)
page
.
should
have_content
"
a
ttached to milestone
#{
milestone
.
title
}
"
page
.
should
have_content
"
A
ttached to milestone
#{
milestone
.
title
}
"
end
end
end
end
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