diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index fc0e09c..a52d95a 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -1,4 +1,5 @@ include OwnershipAuthentication +include ResourceFinder class RepositoriesController < ApplicationController before_action :authenticate_user!, except: [:show, :state] diff --git a/features/repository/edit.feature b/features/repository/edit.feature index bc21781..46ac548 100644 --- a/features/repository/edit.feature +++ b/features/repository/edit.feature @@ -50,4 +50,4 @@ Feature: Repository Edit And I am at repository edit page When I fill the Name field with "MedSquare" And I press the Save button - Then I should see "Name There is already a Repository with name MedSquare! Please, choose another one." + Then I should see "Name should be unique within project" -- libgit2 0.21.2