Remove backward compatibility of factories.
This commit is contained in:
parent
d52f06f380
commit
80fb38de7a
54 changed files with 261 additions and 279 deletions
|
@ -39,8 +39,8 @@ describe ProjectHook do
|
|||
|
||||
describe "execute" do
|
||||
before(:each) do
|
||||
@project_hook = Factory :project_hook
|
||||
@project = Factory :project
|
||||
@project_hook = create(:project_hook)
|
||||
@project = create(:project)
|
||||
@project.hooks << [@project_hook]
|
||||
@data = { before: 'oldrev', after: 'newrev', ref: 'ref'}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue