Merge pull request #1928 from kouno/cleanup-factories

Remove backward compatibility of factories.
This commit is contained in:
Dmitriy Zaporozhets 2012-11-13 08:45:03 -08:00
commit b28ab8962b
54 changed files with 261 additions and 279 deletions

View file

@ -9,7 +9,7 @@ module SharedProject
# Create a specific project called "Shop"
And 'I own project "Shop"' do
@project = Factory :project, :name => "Shop"
@project = create(:project, :name => "Shop")
@project.add_access(@user, :admin)
end