debian-mirror-gitlab/features/steps/project/source/git_blame.rb

20 lines
491 B
Ruby
Raw Normal View History

2015-04-26 12:48:37 +05:30
class Spinach::Features::ProjectSourceGitBlame < Spinach::FeatureSteps
2014-09-02 18:07:02 +05:30
include SharedAuthentication
include SharedProject
include SharedPaths
2015-04-26 12:48:37 +05:30
step 'I click on ".gitignore" file in repo' do
2014-09-02 18:07:02 +05:30
click_link ".gitignore"
end
2015-04-26 12:48:37 +05:30
step 'I click Blame button' do
click_link 'Blame'
2014-09-02 18:07:02 +05:30
end
2015-04-26 12:48:37 +05:30
step 'I should see git file blame' do
2015-09-11 14:41:01 +05:30
expect(page).to have_content "*.rb"
expect(page).to have_content "Dmitriy Zaporozhets"
expect(page).to have_content "Initial commit"
2014-09-02 18:07:02 +05:30
end
end