Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/project/browse_git_repo.rb')
-rw-r--r--features/steps/project/browse_git_repo.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/features/steps/project/browse_git_repo.rb b/features/steps/project/browse_git_repo.rb
new file mode 100644
index 00000000000..cd9a60f49cb
--- /dev/null
+++ b/features/steps/project/browse_git_repo.rb
@@ -0,0 +1,19 @@
+class ProjectBrowseGitRepo < Spinach::FeatureSteps
+ include SharedAuthentication
+ include SharedProject
+ include SharedPaths
+
+ Given 'I click on "Gemfile.lock" file in repo' do
+ click_link "Gemfile.lock"
+ end
+
+ And 'I click blame button' do
+ click_link "blame"
+ end
+
+ Then 'I should see git file blame' do
+ page.should have_content "DEPENDENCIES"
+ page.should have_content "Dmitriy Zaporozhets"
+ page.should have_content "Moving to rails 3.2"
+ end
+end