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
476a8049
Commit
476a8049
authored
Feb 23, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update award_emoji test
parent
7bb378b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
app/controllers/emojis_controller.rb
app/controllers/emojis_controller.rb
+2
-1
features/steps/project/issues/award_emoji.rb
features/steps/project/issues/award_emoji.rb
+2
-2
No files found.
app/controllers/emojis_controller.rb
View file @
476a8049
class
EmojisController
<
ApplicationController
class
EmojisController
<
ApplicationController
layout
false
def
index
def
index
render
:index
,
layout:
false
end
end
end
end
features/steps/project/issues/award_emoji.rb
View file @
476a8049
...
@@ -96,7 +96,7 @@ class Spinach::Features::AwardEmoji < Spinach::FeatureSteps
...
@@ -96,7 +96,7 @@ class Spinach::Features::AwardEmoji < Spinach::FeatureSteps
end
end
step
'The search field is focused'
do
step
'The search field is focused'
do
sleep
0.8
expect
(
page
).
to
have_selector
(
'#emoji_search'
)
page
.
evaluate_script
(
"document.activeElement.id"
).
should
eq
"emoji_search"
expect
(
page
.
evaluate_script
(
'document.activeElement.id'
)).
to
eq
(
'emoji_search'
)
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