Continue refactoring. Use repostory and team
This commit is contained in:
parent
39ba934c0a
commit
dccd8b6eaa
42 changed files with 219 additions and 179 deletions
|
@ -1,6 +1,7 @@
|
|||
class DashboardSearch < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedPaths
|
||||
include SharedProject
|
||||
|
||||
Given 'I search for "Sho"' do
|
||||
fill_in "dashboard_search", with: "Sho"
|
||||
|
@ -11,11 +12,6 @@ class DashboardSearch < Spinach::FeatureSteps
|
|||
page.should have_link "Shop"
|
||||
end
|
||||
|
||||
And 'I own project "Shop"' do
|
||||
@project = create(:project, :name => "Shop")
|
||||
@project.add_access(@user, :admin)
|
||||
end
|
||||
|
||||
Given 'I search for "Contibuting"' do
|
||||
fill_in "dashboard_search", with: "Contibuting"
|
||||
click_button "Search"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue