diff options
Diffstat (limited to 'features/steps/project/source/git_blame.rb')
-rw-r--r-- | features/steps/project/source/git_blame.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/features/steps/project/source/git_blame.rb b/features/steps/project/source/git_blame.rb new file mode 100644 index 00000000000..e29a816c51b --- /dev/null +++ b/features/steps/project/source/git_blame.rb @@ -0,0 +1,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 + page.should have_content "*.rb" + page.should have_content "Dmitriy Zaporozhets" + page.should have_content "Initial commit" + end +end |