Fix small typos
This commit is contained in:
parent
6072259230
commit
1298fbe18d
2 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue