Commit 1cde6449f3f91abb9831ea1fce79638eed86256e

Authored by Rafael Manzo
1 parent 4655a6eb

Repository edition fixed

app/controllers/repositories_controller.rb
1 1 include OwnershipAuthentication
  2 +include ResourceFinder
2 3  
3 4 class RepositoriesController < ApplicationController
4 5 before_action :authenticate_user!, except: [:show, :state]
... ...
features/repository/edit.feature
... ... @@ -50,4 +50,4 @@ Feature: Repository Edit
50 50 And I am at repository edit page
51 51 When I fill the Name field with "MedSquare"
52 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"
... ...