Commit 1cde6449f3f91abb9831ea1fce79638eed86256e

Authored by Rafael Manzo
1 parent 4655a6eb

Repository edition fixed

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