From 1cde6449f3f91abb9831ea1fce79638eed86256e Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Mon, 2 Feb 2015 16:40:15 -0200 Subject: [PATCH] Repository edition fixed --- app/controllers/repositories_controller.rb | 1 + features/repository/edit.feature | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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