Move ProjectHooks from spec/requests to spinach
This commit is contained in:
parent
9cabe04368
commit
db69836319
5 changed files with 65 additions and 43 deletions
|
@ -125,6 +125,10 @@ module SharedPaths
|
|||
visit project_wiki_path(@project, :index)
|
||||
end
|
||||
|
||||
When 'I visit project hooks page' do
|
||||
visit project_hooks_path(@project)
|
||||
end
|
||||
|
||||
# ----------------------------------------
|
||||
# "Shop" Project
|
||||
# ----------------------------------------
|
||||
|
|
|
@ -12,4 +12,8 @@ module SharedProject
|
|||
@project = Factory :project, :name => "Shop"
|
||||
@project.add_access(@user, :admin)
|
||||
end
|
||||
|
||||
def current_project
|
||||
@project ||= Project.first
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue