Sha256: fd0609d58356ce63e59aff12e19fa8943d53bef63ed8ac1e6fc1f3e9508f7d7b
Contents?: true
Size: 457 Bytes
Versions: 7
Compression:
Stored size: 457 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
7 entries across 7 versions & 1 rubygems