* Refactor user_show_spec to check for exact JSON-LD data to improve testing * Extracts data out into factory objects to shorten # of lines in test * Extracts JSON-LD into a parsed object for more precise testing * Shortens test to be within the 15 line rubocop limit * Resolves rubocop multi-line errors * Refactor user.update_columns to be a single method * Add :with_all_info trait to users factory * Adds trait that holds all necessary info for user JSON-LD * Removes user.update_columns method from the user_show_spec * Adds the :with_all_info trait to the user in the spec * Wrap test in rubocop:disable to resolve ExampleLength errors * Removes let blocks that once held extracted code * Adds code back to the data structure as inline code * Resolves even more rubocop errors... hopefully |
||
|---|---|---|
| .. | ||
| user_destroy_spec.rb | ||
| user_organization_spec.rb | ||
| user_profile_spec.rb | ||
| user_settings_spec.rb | ||
| user_show_spec.rb | ||
| user_suggestions_spec.rb | ||