Skip to content

Commit 758c879

Browse files
committed
Require explicitly ActiveSupport Hash::Keys
Why: Fixes error when running specs `bundle exec (/home/m/.rbenv/versions/3.1.0/bin/rspec) bundle exec rspec spec/dsl_spec.rb` ``` NoMethodError: undefined method `stringify_keys for {:name=>"Friday Order"}:Hash ... dsl/endpoint.rb:171:in `block in extra_params ```
1 parent 40c1dfc commit 758c879

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
@@ -3,6 +3,7 @@
33
require 'active_support/core_ext/array/extract_options'
44
require 'active_support/core_ext/hash/conversions'
55
require 'active_support/core_ext/hash/deep_merge'
6+
require 'active_support/core_ext/hash/keys'
67
require 'cgi'
78
require 'json'
89

0 commit comments

Comments
 (0)