summaryrefslogtreecommitdiff
path: root/features/steps/shared/project.rb
diff options
context:
space:
mode:
authorVincent Bonmalais <vb.kouno@gmail.com>2012-11-06 14:31:55 +1100
committerVincent Bonmalais <vb.kouno@gmail.com>2012-11-13 22:27:45 +1100
commit80fb38de7abdfacbf5ad2e0150b934c1392721f0 (patch)
tree302ee55b21e8206ab44cef819a583803b9bb0c6f /features/steps/shared/project.rb
parentd52f06f38013540a9798686aa37c4dad120c3d74 (diff)
downloadgitlab-ce-80fb38de7abdfacbf5ad2e0150b934c1392721f0.tar.gz
Remove backward compatibility of factories.
Diffstat (limited to 'features/steps/shared/project.rb')
-rw-r--r--features/steps/shared/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb
index ae871d63ed5..dfc8ce9d99c 100644
--- a/features/steps/shared/project.rb
+++ b/features/steps/shared/project.rb
@@ -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