diff options
author | Vincent Bonmalais <vb.kouno@gmail.com> | 2012-11-06 07:31:55 +0400 |
---|---|---|
committer | Vincent Bonmalais <vb.kouno@gmail.com> | 2012-11-13 15:27:45 +0400 |
commit | 80fb38de7abdfacbf5ad2e0150b934c1392721f0 (patch) | |
tree | 302ee55b21e8206ab44cef819a583803b9bb0c6f /features/steps/project/project_hooks.rb | |
parent | d52f06f38013540a9798686aa37c4dad120c3d74 (diff) |
Remove backward compatibility of factories.
Diffstat (limited to 'features/steps/project/project_hooks.rb')
-rw-r--r-- | features/steps/project/project_hooks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/project_hooks.rb b/features/steps/project/project_hooks.rb index 1786fe5bc05..36555fb8e8c 100644 --- a/features/steps/project/project_hooks.rb +++ b/features/steps/project/project_hooks.rb @@ -6,7 +6,7 @@ class ProjectHooks < Spinach::FeatureSteps include RSpec::Mocks::ExampleMethods Given 'project has hook' do - @hook = Factory :project_hook, project: current_project + @hook = create(:project_hook, project: current_project) end Then 'I should see project hook' do |