fa34901237
- do not add Feature to feature titles - titleize feature titles - put steps on the same path as .feature files - make feature titles match their path
19 lines
479 B
Ruby
19 lines
479 B
Ruby
class Spinach::Features::ProjectSourceGitBlame < 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
|