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

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

  step 'I click on ".gitignore" file in repo' do
    click_link ".gitignore"
  end

  step 'I click Blame button' do
    click_link 'Blame'
  end

  step 'I should see git file blame' do
    page.should have_content "*.rb"
    page.should have_content "Dmitriy Zaporozhets"
    page.should have_content "Initial commit"
  end
end