Commit 1cde6449f3f91abb9831ea1fce79638eed86256e
1 parent
4655a6eb
Exists in
colab
and in
4 other branches
Repository edition fixed
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
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" |