* Refactor user_same_as_json_ld method to be more readable * Refactor user JSON-LD to be less verbose in Stories::Controller * Removes set_user_same_as_json_ld method * Removes set_user_profile_json_ld method * Adds user_works_for and user_disambiguating_description * Adds inline logic to the data structure * Simplifies user_same_as method * Add documentation around specific data properties * Add .reject to user_json_ld to remove key, value if value blank * Checks for blank values and rejects key,value if blank * Accounts for JSON-LD preference for no key,value if blank * Add reject and compact to worksFor in Stories::Controller * Ensures any nil/empty values for worksFor are removed * Cleans up existing code within Stories::Controller * Add test for values that eval to true when .blank? is called * Adds test to check that empty key/values are not included * Adds test to check that nil key/values are not included * Refactors variables to be inline in user_show_spec * Refactors existing code in user_show_spec * Add reject for blank values to user_same_as in Stories::Contrroller * Adds a check for email_public to email * Fix typo within comment in Stories::Controller * Add ternary operation to email in Stories::Controller |
||
|---|---|---|
| .. | ||
| user_destroy_spec.rb | ||
| user_organization_spec.rb | ||
| user_profile_spec.rb | ||
| user_settings_spec.rb | ||
| user_show_spec.rb | ||
| user_suggestions_spec.rb | ||