c31c8c55a4
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: features/steps/project/markdown_render.rb
19 lines
478 B
Ruby
19 lines
478 B
Ruby
class Spinach::Features::ProjectBrowseGitRepo < Spinach::FeatureSteps
|
|
include SharedAuthentication
|
|
include SharedProject
|
|
include SharedPaths
|
|
|
|
step 'I click on ".gitignore" file in repo' do
|
|
click_link ".gitignore"
|
|
end
|
|
|
|
step 'I click blame button' do
|
|
click_link "blame"
|
|
end
|
|
|
|
step 'I should see git file blame' do
|
|
page.should have_content "*.rb"
|
|
page.should have_content "Dmitriy Zaporozhets"
|
|
page.should have_content "Initial commit"
|
|
end
|
|
end
|