2013-04-14 17:07:11 +00:00
|
|
|
class ProjectSearchCode < Spinach::FeatureSteps
|
|
|
|
include SharedAuthentication
|
|
|
|
include SharedProject
|
|
|
|
include SharedPaths
|
|
|
|
|
2014-07-31 13:20:47 +00:00
|
|
|
When 'I search for term "coffee"' do
|
|
|
|
fill_in "search", with: "coffee"
|
2013-04-14 17:07:11 +00:00
|
|
|
click_button "Go"
|
2013-05-09 08:46:32 +00:00
|
|
|
click_link 'Repository Code'
|
2013-04-14 17:07:11 +00:00
|
|
|
end
|
|
|
|
|
2014-07-31 13:20:47 +00:00
|
|
|
Then 'I should see files from repository containing "coffee"' do
|
|
|
|
page.should have_content "coffee"
|
|
|
|
page.should have_content " CONTRIBUTING.md"
|
2013-04-14 17:07:11 +00:00
|
|
|
end
|
|
|
|
end
|