diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-07-28 00:27:15 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-11 11:31:37 +0200 |
commit | da7e14c864eb039ffe1c06409681721892917b71 (patch) | |
tree | adcc5ac17ffeb26c17527164ebe56bfb33ffa05c /features/project | |
parent | 9d3e384ae6553fee85b7a1ed2b99a18a9884606e (diff) | |
download | gitlab-ce-da7e14c864eb039ffe1c06409681721892917b71.tar.gz |
fix searching on empty project, prevent 500
Fix hound
Diffstat (limited to 'features/project')
-rw-r--r-- | features/project/source/search_code.feature | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/features/project/source/search_code.feature b/features/project/source/search_code.feature index ad8a650d895..93b326696d0 100644 --- a/features/project/source/search_code.feature +++ b/features/project/source/search_code.feature @@ -1,9 +1,15 @@ Feature: Project Search code Background: Given I sign in as a user - And I own project "Shop" - Given I visit project source page Scenario: Search for term "coffee" + Given I own project "Shop" + And I visit project source page When I search for term "coffee" Then I should see files from repository containing "coffee" + + Scenario: Search on empty project + Given I own an empty project + And I visit my project's home page + When I search for term "coffee" + Then I should see empty result |