diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-13 14:12:05 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-13 15:48:26 +0200 |
commit | b9519c83142d566ee562da57563db42849e91771 (patch) | |
tree | 4ba96aa8b92bf8b4c458e8c4ddb49ef16bc7313d /features/steps/shared/paths.rb | |
parent | c9eaa46c738ad23bbb3d6f3dfbdaf8a485d0a030 (diff) | |
download | gitlab-ce-b9519c83142d566ee562da57563db42849e91771.tar.gz |
Validate label titel in project scope
Diffstat (limited to 'features/steps/shared/paths.rb')
-rw-r--r-- | features/steps/shared/paths.rb | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb index 4e97dba20b3..0d06383509f 100644 --- a/features/steps/shared/paths.rb +++ b/features/steps/shared/paths.rb @@ -287,10 +287,22 @@ module SharedPaths end step 'I visit project "Shop" labels page' do + project = Project.find_by(name: 'Shop') visit project_labels_path(project) end - step 'I visit new label page' do + step 'I visit project "Forum" labels page' do + project = Project.find_by(name: 'Forum') + visit project_labels_path(project) + end + + step 'I visit project "Shop" new label page' do + project = Project.find_by(name: 'Shop') + visit new_project_label_path(project) + end + + step 'I visit project "Forum" new label page' do + project = Project.find_by(name: 'Forum') visit new_project_label_path(project) end |