Sha256: c2b457a7b9eafec6a8bf3b242dc1ab9b67821c9c9d6d9967c1bac3b8c8c74a3b
Contents?: true
Size: 448 Bytes
Versions: 16
Compression:
Stored size: 448 Bytes
Contents
require 'rspectacular/plugins/rails/engine' if defined? RSpec::Rails RSpec.configure do |config| config.infer_base_class_for_anonymous_controllers = true config.infer_spec_type_from_file_location! if config.respond_to?(:infer_spec_type_from_file_location!) if File.join(Dir.pwd, 'spec', 'dummy', 'config', 'environment') config.include RSpectacular::NamespacedEngineControllerRouteFix, :type => :controller end end end
Version data entries
16 entries across 16 versions & 1 rubygems