gitlabhq/features/steps/project/project_browse_git_repo.rb

20 lines
476 B
Ruby
Raw Normal View History

class ProjectBrowseGitRepo < Spinach::FeatureSteps
2012-09-10 17:35:03 +02:00
include SharedAuthentication
include SharedProject
include SharedPaths
2013-02-21 11:27:52 +01:00
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
2013-02-21 11:27:52 +01:00
page.should have_content "DEPENDENCIES"
page.should have_content "Dmitriy Zaporozhets"
page.should have_content "Moving to rails 3.2"
end
end