diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index ffe54f33..053282ec 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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