2014-10-02 16:42:54 +00:00
|
|
|
class Spinach::Features::ProjectSourceGitBlame < Spinach::FeatureSteps
|
2012-09-10 15:35:03 +00:00
|
|
|
include SharedAuthentication
|
|
|
|
include SharedProject
|
|
|
|
include SharedPaths
|
|
|
|
|
2014-09-21 21:40:22 +00:00
|
|
|
step 'I click on ".gitignore" file in repo' do
|
2014-07-31 13:20:47 +00:00
|
|
|
click_link ".gitignore"
|
2012-09-10 12:34:01 +00:00
|
|
|
end
|
|
|
|
|
2014-09-29 21:11:30 +00:00
|
|
|
step 'I click Blame button' do
|
|
|
|
click_link 'Blame'
|
2012-09-10 12:34:01 +00:00
|
|
|
end
|
|
|
|
|
2014-09-21 21:40:22 +00:00
|
|
|
step 'I should see git file blame' do
|
2014-07-31 13:20:47 +00:00
|
|
|
page.should have_content "*.rb"
|
2012-09-10 12:34:01 +00:00
|
|
|
page.should have_content "Dmitriy Zaporozhets"
|
2014-07-31 13:20:47 +00:00
|
|
|
page.should have_content "Initial commit"
|
2012-09-10 12:34:01 +00:00
|
|
|
end
|
|
|
|
end
|