summaryrefslogtreecommitdiff
path: root/features/project/source
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2012-09-10 05:34:01 -0700
committerNihad Abbasov <narkoz.2008@gmail.com>2012-09-10 05:34:01 -0700
commit698500dd786cc931cabeb0f44087c0cd11bd0131 (patch)
treeca82be95d3b1eeb5dcd6a8e4fdb0d2b054bd4d91 /features/project/source
parent080bd12e167dceb3274bb488b7be787379d126b4 (diff)
downloadgitlab-ce-698500dd786cc931cabeb0f44087c0cd11bd0131.tar.gz
add spinach steps for project issues and source features
Diffstat (limited to 'features/project/source')
-rw-r--r--features/project/source/browse_files.feature14
-rw-r--r--features/project/source/git_blame.feature10
2 files changed, 11 insertions, 13 deletions
diff --git a/features/project/source/browse_files.feature b/features/project/source/browse_files.feature
index 04aebc19732..b12b0ee3e36 100644
--- a/features/project/source/browse_files.feature
+++ b/features/project/source/browse_files.feature
@@ -1,6 +1,6 @@
-Feature: Browse git repo
- Background:
- Given I signin as a user
+Feature: Project Browse files
+ Background:
+ Given I sign in as a user
And I own project "Shop"
Given I visit project source page
@@ -12,12 +12,10 @@ Feature: Browse git repo
Then I should see files from repository for "8470d70"
Scenario: I browse file content
- Given I click on file from repo
+ Given I click on "Gemfile" file in repo
Then I should see it content
Scenario: I browse raw file
- Given I visit blob file from repo
- And I click on raw button
+ Given I visit blob file from repo
+ And I click link "raw"
Then I should see raw file content
-
-
diff --git a/features/project/source/git_blame.feature b/features/project/source/git_blame.feature
index 6aa6be47deb..93ed20a8c42 100644
--- a/features/project/source/git_blame.feature
+++ b/features/project/source/git_blame.feature
@@ -1,10 +1,10 @@
-Feature: Browse git repo
- Background:
- Given I signin as a user
+Feature: Project Browse git repo
+ Background:
+ Given I sign in as a user
And I own project "Shop"
Given I visit project source page
Scenario: I blame file
- Given I click on file from repo
+ Given I click on "Gemfile" file in repo
And I click blame button
- Then I should see git file blame
+ Then I should see git file blame