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
|
2014-09-02 18:07:02 +05:30
|
|
|
page.should have_content "*.rb"
|
|
|
|
page.should have_content "Dmitriy Zaporozhets"
|
|
|
|
page.should have_content "Initial commit"
|
|
|
|
end
|
|
|
|
end
|