mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Merge branch 'improve-rspec' into registry-267
This commit is contained in:
commit
e424c6ec01
3 changed files with 5 additions and 1 deletions
|
@ -47,7 +47,7 @@ Rails.application.configure do
|
|||
Bullet.enable = true
|
||||
Bullet.bullet_logger = true
|
||||
Bullet.rails_logger = true
|
||||
Bullet.raise = true # raise an error if n+1 query occurs
|
||||
Bullet.raise = false # raise an error if n+1 query occurs
|
||||
Bullet.unused_eager_loading_enable = false
|
||||
|
||||
# Currenty hard to fix, it is triggered by Epp::Domain.new_from_epp for create request
|
||||
|
|
|
@ -16,6 +16,7 @@ end
|
|||
require 'support/matchers/alias_attribute'
|
||||
require 'support/matchers/active_job'
|
||||
require 'support/capybara'
|
||||
require 'support/factory_girl'
|
||||
require 'support/database_cleaner'
|
||||
require 'support/paper_trail'
|
||||
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