Fix tests.
This commit is contained in:
parent
0bfef4bd83
commit
3babc959db
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ class Projects::BranchesController < Projects::ApplicationController
|
|||
respond_to do |format|
|
||||
format.html
|
||||
format.json do
|
||||
render json: @repository.branch_names.to_json
|
||||
render json: @repository.branch_names
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -20,7 +20,7 @@ describe 'Branches', feature: true do
|
|||
|
||||
describe 'Find branches' do
|
||||
it 'shows filtered branches', js: true do
|
||||
visit namespace_project_branches_path(project.namespace, project, project.id)
|
||||
visit namespace_project_branches_path(project.namespace, project)
|
||||
|
||||
fill_in 'branch-search', with: 'fix'
|
||||
find('#branch-search').native.send_keys(:enter)
|
||||
|
|
Loading…
Reference in a new issue