summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorJavier Castro <javier.alejandro.castro@gmail.com>2013-04-14 14:07:11 -0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-09 11:47:08 +0300
commit7f57fe5034f6fdfbdd4e29745b50e7bfa1576bf5 (patch)
tree29586c1f9dd79b73b88e1797e26b432f9d18fd40 /features/project
parent4353babe61a57be128bd967731e7c536c9a55ba3 (diff)
downloadgitlab-ce-7f57fe5034f6fdfbdd4e29745b50e7bfa1576bf5.tar.gz
Implemented code search feature
Diffstat (limited to 'features/project')
-rw-r--r--features/project/source/search_code.feature9
1 files changed, 9 insertions, 0 deletions
diff --git a/features/project/source/search_code.feature b/features/project/source/search_code.feature
new file mode 100644
index 00000000000..f62adb5d056
--- /dev/null
+++ b/features/project/source/search_code.feature
@@ -0,0 +1,9 @@
+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 "Welcome to Gitlab"
+ When I search for term "Welcome to Gitlab"
+ Then I should see files from repository containing "Welcome to Gitlab"