mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
0b87e7543f
Rolling out frozen string literals further by freezing all string literals in core specs.
14 lines
551 B
Ruby
14 lines
551 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Multi_json issue #208 https://github.com/intridea/multi_json/issues/208
|
|
# produces a `NoMethodError` with some tests like
|
|
# modules/bim/spec/requests/api/bcf/v2_1/viewpoints_api_spec.rb:277 where grape
|
|
# is calling multi_json with a specific adapter. It will fail if it is the first
|
|
# test executed.
|
|
#
|
|
# Calling this will prevent the error from happening
|
|
MultiJson::OptionsCache.reset
|
|
|
|
# This file can be removed once the issue has been fixed and released in a new
|
|
# version of multi_json gem (issue exists in 1.15.0)
|