Sha256: 3b81097746ac6c933b0bbb771dc96c58ae43409744a60ec788a4c2630d54f55c
Contents?: true
Size: 455 Bytes
Versions: 1
Compression:
Stored size: 455 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').exist? config.include Rspectacular::NamespacedEngineControllerRouteFix, :type => :controller end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspectacular-0.56.0 | lib/rspectacular/support/rails.rb |