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