2012-09-10 12:34:01 +00:00
|
|
|
class ProjectBrowseGitRepo < Spinach::FeatureSteps
|
2012-09-10 15:35:03 +00:00
|
|
|
include SharedAuthentication
|
|
|
|
include SharedProject
|
|
|
|
include SharedPaths
|
|
|
|
|
2014-07-31 13:20:47 +00:00
|
|
|
Given 'I click on ".gitignore" file in repo' do
|
|
|
|
click_link ".gitignore"
|
2012-09-10 12:34:01 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
And 'I click blame button' do
|
|
|
|
click_link "blame"
|
|
|
|
end
|
|
|
|
|
|
|
|
Then '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
|