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

20 lines
491 B
Ruby
Raw Normal View History

2015-04-26 09:18:37 +02:00
class Spinach::Features::ProjectSourceGitBlame < Spinach::FeatureSteps
2014-09-02 14:37:02 +02:00
include SharedAuthentication
include SharedProject
include SharedPaths
2015-04-26 09:18:37 +02:00
step 'I click on ".gitignore" file in repo' do
2014-09-02 14:37:02 +02:00
click_link ".gitignore"
end
2015-04-26 09:18:37 +02:00
step 'I click Blame button' do
click_link 'Blame'
2014-09-02 14:37:02 +02:00
end
2015-04-26 09:18:37 +02:00
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 14:37:02 +02:00
end
end