Remove backward compatibility of factories.

This commit is contained in:
Vincent Bonmalais 2012-11-06 14:31:55 +11:00
parent d52f06f380
commit 80fb38de7a
54 changed files with 261 additions and 279 deletions

View file

@ -2,12 +2,12 @@ require 'spec_helper'
describe "Admin::Hooks" do
before do
@project = Factory :project,
name: "LeGiT",
code: "LGT"
@project = create(:project,
name: "LeGiT",
code: "LGT")
login_as :admin
@system_hook = Factory :system_hook
@system_hook = create(:system_hook)
end