Few more fixes after removing roles
This commit is contained in:
parent
cac7723451
commit
40a956eb68
5 changed files with 2 additions and 19 deletions
|
@ -1,6 +1,6 @@
|
|||
# Stubs out all Git repository access done by models so that specs can run
|
||||
# against fake repositories without Grit complaining that they don't exist.
|
||||
module StubbedRepository
|
||||
class Project
|
||||
def path_to_repo
|
||||
if new_record? || path == 'newproject'
|
||||
# There are a couple Project specs and features that expect the Project's
|
||||
|
@ -27,5 +27,3 @@ module StubbedRepository
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
Project.send(:include, StubbedRepository)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue