From d2a218c9faf6eb8f3266ac9055a6eae7efb36d80 Mon Sep 17 00:00:00 2001 From: Benjamin Meichsner Date: Sun, 21 Sep 2014 12:28:00 +0200 Subject: [PATCH] Fixed rspec deprecation warning concerning spec type. --- spec/spec_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) 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