17 lines
427 B
Ruby
17 lines
427 B
Ruby
class ProjectSearchCode < Spinach::FeatureSteps
|
|
include SharedAuthentication
|
|
include SharedProject
|
|
include SharedPaths
|
|
|
|
When 'I search for term "coffee"' do
|
|
fill_in "search", with: "coffee"
|
|
click_button "Go"
|
|
click_link 'Repository Code'
|
|
end
|
|
|
|
Then 'I should see files from repository containing "coffee"' do
|
|
page.should have_content "coffee"
|
|
page.should have_content " CONTRIBUTING.md"
|
|
end
|
|
end
|