mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Include FactoryGirl methods
This commit is contained in:
parent
a74bce46c9
commit
7209322e28
2 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,7 @@ end
|
||||||
require 'support/matchers/alias_attribute'
|
require 'support/matchers/alias_attribute'
|
||||||
require 'support/matchers/active_job'
|
require 'support/matchers/active_job'
|
||||||
require 'support/capybara'
|
require 'support/capybara'
|
||||||
|
require 'support/factory_girl'
|
||||||
require 'support/database_cleaner'
|
require 'support/database_cleaner'
|
||||||
require 'support/paper_trail'
|
require 'support/paper_trail'
|
||||||
require 'support/settings'
|
require 'support/settings'
|
||||||
|
|
3
spec/support/factory_girl.rb
Normal file
3
spec/support/factory_girl.rb
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
RSpec.configure do |config|
|
||||||
|
config.include FactoryGirl::Syntax::Methods
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue