Fixed rspec deprecation warning concerning spec type.
This commit is contained in:
parent
418a8b5806
commit
d2a218c9fa
1 changed files with 4 additions and 0 deletions
|
@ -57,6 +57,10 @@ RSpec.configure do |config|
|
|||
config.order = "random"
|
||||
|
||||
config.include SessionHelper
|
||||
|
||||
# Automatically determine spec from directory structure, see:
|
||||
# https://www.relishapp.com/rspec/rspec-rails/v/3-0/docs/directory-structure
|
||||
config.infer_spec_type_from_file_location!
|
||||
end
|
||||
|
||||
module Faker
|
||||
|
|
Loading…
Reference in a new issue