Remove backward compatibility of factories.
This commit is contained in:
parent
d52f06f380
commit
80fb38de7a
54 changed files with 261 additions and 279 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue