lib/rspectacular/support/rails.rb in rspectacular-0.62.0 vs lib/rspectacular/support/rails.rb in rspectacular-0.62.1

- old
+ new

@@ -5,9 +5,9 @@ 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 + config.include Rspectacular::NamespacedEngineControllerRouteFix, type: :controller end end end