Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Markech
refinerycms-acts-as-indexed
Commits
c4899356
Commit
c4899356
authored
Aug 20, 2015
by
Brice Sanchez
Committed by
Brice Sanchez
Jun 07, 2016
Browse files
Update search page spec to test query with and without accents
parent
193c0fbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
spec/features/refinery/acts_as_indexed/admin/search_spec.rb
View file @
c4899356
...
...
@@ -50,12 +50,18 @@ module Refinery
visit
refinery
.
admin_pages_path
end
it
"returns found page"
do
it
"returns found page
without accents in the query
"
do
fill_in
"search"
,
:with
=>
"Telephone"
click_button
"Search"
expect
(
page
).
to
have_content
(
"Téléphone"
)
end
it
"returns found page with accents in the query"
do
fill_in
"search"
,
:with
=>
"Téléphone"
click_button
"Search"
expect
(
page
).
to
have_content
(
"Téléphone"
)
end
it_behaves_like
"no result search"
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