We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 212112e + 8f4b39d commit b05b690Copy full SHA for b05b690
lib/rspec_api_documentation/dsl.rb
@@ -36,7 +36,7 @@ def resource(*args, &block)
36
RSpec.configuration.include RspecApiDocumentation::DSL::Callback, :api_doc_dsl => :callback
37
RSpec.configuration.backtrace_exclusion_patterns << %r{lib/rspec_api_documentation/dsl/}
38
39
-if defined? RSpec::Rails
+if defined? RSpec::Rails::DIRECTORY_MAPPINGS
40
RSpec::Rails::DIRECTORY_MAPPINGS[:acceptance] = %w[spec acceptance]
41
RSpec.configuration.infer_spec_type_from_file_location!
42
end
0 commit comments