Get search dictionary based on I18n.default_locale (merge pull request #3856)
Implementation tries to be open for further extensions, such as deciding on search dictionary based on configuration option or by locale set for given user.
This commit is contained in:
committed by
GitHub
parent
426c1c5fd2
commit
d99875cde2
@@ -1410,7 +1410,7 @@ describe "Proposals" do
|
||||
end
|
||||
end
|
||||
|
||||
scenario "Order by relevance by default", :js do
|
||||
scenario "Order by relevance by default", :spanish_search, :js do
|
||||
create(:proposal, title: "Show you got", cached_votes_up: 10)
|
||||
create(:proposal, title: "Show what you got", cached_votes_up: 1)
|
||||
create(:proposal, title: "Show you got", cached_votes_up: 100)
|
||||
|
||||
Reference in New Issue
Block a user