Sha256: f83a6661cd94b5257ad6937422209bbde12ff51c22e227970744326ef3730ada
Contents?: true
Size: 454 Bytes
Versions: 14
Compression:
Stored size: 454 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 Pathname.pwd.join('spec', 'dummy', 'config', 'environment.rb').exist? config.include Rspectacular::NamespacedEngineControllerRouteFix, type: :controller end end end
Version data entries
14 entries across 14 versions & 1 rubygems