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

project_browse_git_repo.rb « project « steps « features - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e966f40773843c7be6b362937fdd3b07426cf115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class ProjectBrowseGitRepo < Spinach::FeatureSteps
  include SharedAuthentication
  include SharedProject
  include SharedPaths

  Given 'I click on "Gemfile" file in repo' do
    click_link "Gemfile"
  end

  And 'I click blame button' do
    click_link "blame"
  end

  Then 'I should see git file blame' do
    page.should have_content "rubygems.org"
    page.should have_content "Dmitriy Zaporozhets"
    page.should have_content "bc3735004cb Moving to rails 3.2"
  end
end