summaryrefslogtreecommitdiff
path: root/features/steps/project/browse_git_repo.rb
blob: cd9a60f49cbc8b017125bbd2becd094d0deabb2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class ProjectBrowseGitRepo < Spinach::FeatureSteps
  include SharedAuthentication
  include SharedProject
  include SharedPaths

  Given 'I click on "Gemfile.lock" file in repo' do
    click_link "Gemfile.lock"
  end

  And 'I click blame button' do
    click_link "blame"
  end

  Then 'I should see git file blame' do
    page.should have_content "DEPENDENCIES"
    page.should have_content "Dmitriy Zaporozhets"
    page.should have_content "Moving to rails 3.2"
  end
end