add spinach steps for project issues and source features

This commit is contained in:
Nihad Abbasov 2012-09-10 05:34:01 -07:00
parent 080bd12e16
commit 698500dd78
11 changed files with 345 additions and 26 deletions

View file

@ -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

View file

@ -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