diff options
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 |