BigW Consortium Gitlab

browse_git_repo.rb 476 Bytes
Newer Older
1
class ProjectBrowseGitRepo < Spinach::FeatureSteps
Nihad Abbasov committed
2 3 4 5
  include SharedAuthentication
  include SharedProject
  include SharedPaths

6 7
  Given 'I click on "Gemfile.lock" file in repo' do
    click_link "Gemfile.lock"
8 9 10 11 12 13 14
  end

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

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