gitlab-org--gitlab-foss/features/steps/project/source/git_blame.rb

20 lines
491 B
Ruby
Raw Normal View History

class Spinach::Features::ProjectSourceGitBlame < Spinach::FeatureSteps
2012-09-10 15:35:03 +00:00
include SharedAuthentication
include SharedProject
include SharedPaths
step 'I click on ".gitignore" file in repo' do
click_link ".gitignore"
end
2014-09-29 21:11:30 +00:00
step 'I click Blame button' do
click_link 'Blame'
end
step 'I should see git file blame' do
expect(page).to have_content "*.rb"
expect(page).to have_content "Dmitriy Zaporozhets"
expect(page).to have_content "Initial commit"
end
end