diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-07-28 02:27:15 +0400 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-11 13:31:37 +0400 |
commit | da7e14c864eb039ffe1c06409681721892917b71 (patch) | |
tree | adcc5ac17ffeb26c17527164ebe56bfb33ffa05c /features/steps/shared | |
parent | 9d3e384ae6553fee85b7a1ed2b99a18a9884606e (diff) |
fix searching on empty project, prevent 500
Fix hound
Diffstat (limited to 'features/steps/shared')
-rw-r--r-- | features/steps/shared/project.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb index 655840f447d..c131976614f 100644 --- a/features/steps/shared/project.rb +++ b/features/steps/shared/project.rb @@ -21,6 +21,13 @@ module SharedProject @project.team << [@user, :master] end + # Create an empty project without caring about the name + And 'I own an empty project' do + @project = create(:empty_project, + name: 'Empty Project', namespace: @user.namespace) + @project.team << [@user, :master] + end + And 'project "Shop" has push event' do @project = Project.find_by(name: "Shop") |