Remove backward compatibility of factories.
This commit is contained in:
parent
d52f06f380
commit
80fb38de7a
54 changed files with 261 additions and 279 deletions
|
@ -3,9 +3,9 @@ require 'spec_helper'
|
|||
describe Project do
|
||||
describe :authorization do
|
||||
before do
|
||||
@p1 = Factory :project
|
||||
@u1 = Factory :user
|
||||
@u2 = Factory :user
|
||||
@p1 = create(:project)
|
||||
@u1 = create(:user)
|
||||
@u2 = create(:user)
|
||||
@abilities = Six.new
|
||||
@abilities << Ability
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue