diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-11 13:41:58 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-11 13:41:58 +0400 |
commit | bdb9340e4d0fc0badb5202a5c910be8cdf2ba180 (patch) | |
tree | 62f3f7fd49fd4ee58e2c0d711fbed2c3fb95f6a2 /features/project | |
parent | 7122a823f859a1201428791e32000c4a8bcc6787 (diff) | |
parent | f361be9eca790c444c9a95c98fe8e5f95e1d7f95 (diff) |
Merge pull request #7385 from Razer6/fix_search_empty_project
Fix 500 on searching on empty project, restyle search page
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 |