Commit 1298fbe1 authored by Toon Claes's avatar Toon Claes

Fix small typos

parent 60722592
......@@ -21,7 +21,7 @@ module Groups
def finder_params
@finder_params ||= begin
# Make the `search` param consitent for the frontend,
# Make the `search` param consistent for the frontend,
# which will be using `filter`.
params[:search] ||= params[:filter] if params[:filter]
params.permit(:sort, :search)
......
......@@ -13,9 +13,9 @@ describe Groups::SharedProjectsController do
).execute(group)
end
let(:group) { create(:group) }
let(:user) { create(:user) }
let!(:shared_project) do
set(:group) { create(:group) }
set(:user) { create(:user) }
set(:shared_project) do
shared_project = create(:project, namespace: user.namespace)
share_project(shared_project)
......@@ -37,7 +37,7 @@ describe Groups::SharedProjectsController do
expect(json_project_ids).to contain_exactly(shared_project.id)
end
it 'allows fitlering shared projects' do
it 'allows filtering shared projects' do
project = create(:project, :archived, namespace: user.namespace, name: "Searching for")
share_project(project)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment