refactor feature steps
This commit is contained in:
parent
ef4e9c24d3
commit
79eb5ab396
34 changed files with 270 additions and 376 deletions
19
features/steps/project/project_browse_git_repo.rb
Normal file
19
features/steps/project/project_browse_git_repo.rb
Normal file
|
@ -0,0 +1,19 @@
|
|||
class ProjectBrowseGitRepo < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
include SharedPaths
|
||||
|
||||
Given 'I click on "Gemfile" file in repo' do
|
||||
click_link "Gemfile"
|
||||
end
|
||||
|
||||
And 'I click blame button' do
|
||||
click_link "blame"
|
||||
end
|
||||
|
||||
Then 'I should see git file blame' do
|
||||
page.should have_content "rubygems.org"
|
||||
page.should have_content "Dmitriy Zaporozhets"
|
||||
page.should have_content "bc3735004cb Moving to rails 3.2"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue