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
Léo-Paul Géneau
gitlab-ce
Commits
c5890296
Commit
c5890296
authored
Jul 04, 2014
by
Ciro Santilli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing spec.
parent
714f7201
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
spec/features/issues_spec.rb
spec/features/issues_spec.rb
+2
-2
spec/support/login_helpers.rb
spec/support/login_helpers.rb
+2
-1
No files found.
spec/features/issues_spec.rb
View file @
c5890296
...
...
@@ -226,7 +226,7 @@ describe "Issues", feature: true do
issue
.
save
end
it
'shows assignee text'
do
it
"shows assignee text"
,
js:
true
do
logout
login_with
guest
...
...
@@ -262,7 +262,7 @@ describe "Issues", feature: true do
issue
.
save
end
it
'shows milestone text'
do
it
"shows milestone text"
,
js:
true
do
logout
login_with
guest
...
...
spec/support/login_helpers.rb
View file @
c5890296
...
...
@@ -19,7 +19,8 @@ module LoginHelpers
Thread
.
current
[
:current_user
]
=
user
end
# Requires Javascript driver.
def
logout
page
.
find
(
:css
,
".icon-signout"
).
click
rescue
nil
page
.
find
(
:css
,
".icon-signout"
).
click
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