Move ProjectHooks from spec/requests to spinach

This commit is contained in:
randx 2012-09-27 23:52:08 +03:00
parent 9cabe04368
commit db69836319
5 changed files with 65 additions and 43 deletions

View file

@ -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
# ----------------------------------------

View file

@ -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