docbrown/spec/lib
Daniel Uber 71a4c47181
Update identities where the auth data dump is a plain hash (#16676)
* Update identities where the auth data dump is a plain hash

All but 3 records in DEV have OmniAuth::AuthHash objects serialized as
auth data dump. Normalize the remaining ones so they don't cause no
method errors when we treat the auth_data_dump as an object (sending
`#info` instead of asking for `['info']`).

should address https://app.honeybadger.io/projects/66984/faults/84183659

Add null safety check in a second example (that null values should not
cause an error, and should not be coerced to auth hashes).

* Ignore rubocop suggestion to create list

Because the factory for identities doesn't automatically create the
required user object, this is impractical.

While I'm here, move the identity hash update into the creation block
rather than doing this in two passes.

Co-authored-by: Jamie Gaskins <jgaskins@hey.com>
2022-02-23 14:14:14 -06:00
..
acts_as_taggable_on Remove Elasticsearch ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ (#13606) 2021-05-03 11:09:45 -04:00
data_update_scripts Update identities where the auth data dump is a plain hash (#16676) 2022-02-23 14:14:14 -06:00
honeycomb [deploy] Optimization:Throttle Noisy Honeycomb Events More (#10143) 2020-09-01 15:21:07 -05:00
liquid Implement Unified Embed for Forem Article/Post URLs (#15745) 2021-12-14 14:56:51 -05:00
reverse_markdown/converters Preserve newlines and indentation in <pre> tags from RSS import (#10922) 2020-10-20 09:25:57 -04:00
sidekiq Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
app_secrets_spec.rb [deploy] Feature: Setup Admin Area to Update Vault Secrets (#8935) 2020-06-29 15:08:09 -05:00
black_box_spec.rb Move BlackBox to app/lib (#16183) 2022-01-20 09:37:53 +07:00
html_css_to_image_spec.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
rails_env_constraint_spec.rb Easier feature flag handling for Cypress (#16379) 2022-02-03 10:42:13 -05:00
release_phase_notifier_spec.rb Notify slack when release phase fails (#6300) [deploy] 2020-02-27 10:50:59 -05:00
string_attribute_cleaner_spec.rb Refactoring to use StringAttributeCleaner (#15641) 2021-12-02 08:55:27 -05:00
throttled_call_spec.rb [15-minute fix] Add ThrottledCall to DisplayAdEventsController (#12924) 2021-03-09 09:06:11 +07:00
url_spec.rb extra tweaks for i18n (#16192) 2022-02-23 06:48:52 -07:00