blob: d0a27f47e2a4739cae9ed33c5f157d2246e779bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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
expect(page).to have_content "*.rb"
expect(page).to have_content "Dmitriy Zaporozhets"
expect(page).to have_content "Initial commit"
end
end
|