Sha256: a00ef56048efb92b414455a092a4b5e0a075047f706664e64f661bdf2d4319f1

Contents?: true

Size: 340 Bytes

Versions: 8

Compression:

Stored size: 340 Bytes

Contents

require 'rspectacular/plugins/rails/engine'

if defined? RSpec::Rails
  RSpec.configure do |config|
    config.infer_base_class_for_anonymous_controllers = true

    if File.join(Dir.pwd, 'spec', 'dummy', 'config', 'environment')
      config.include RSpectacular::NamespacedEngineControllerRouteFix, :type => :controller
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rspectacular-0.38.0 lib/rspectacular/support/rails.rb
rspectacular-0.37.0 lib/rspectacular/support/rails.rb
rspectacular-0.36.0 lib/rspectacular/support/rails.rb
rspectacular-0.35.0 lib/rspectacular/support/rails.rb
rspectacular-0.34.0 lib/rspectacular/support/rails.rb
rspectacular-0.33.0 lib/rspectacular/support/rails.rb
rspectacular-0.31.0 lib/rspectacular/support/rails.rb
rspectacular-0.30.0 lib/rspectacular/support/rails.rb