Skip to content

Commit a0d0745

Browse files
committed
Require explicitly ActiveSupport Array#extract_options!
Why: Trying run the specs on vanilla machine produces error: ``` resource.rb:10:in `block in define_action: undefined method extract_options! for ["/path"]:Array (NoMethodError) ```
1 parent d3892cc commit a0d0745

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rspec_api_documentation.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require 'active_support'
22
require 'active_support/inflector'
3+
require 'active_support/core_ext/array/extract_options'
34
require 'active_support/core_ext/hash/conversions'
45
require 'active_support/core_ext/hash/deep_merge'
56
require 'cgi'

0 commit comments

Comments
 (0)