Skip to content

Conversation

indocomsoft
Copy link
Member

Fixes #192

@indocomsoft indocomsoft self-assigned this Aug 9, 2018
@indocomsoft indocomsoft requested a review from tuesmiddt August 9, 2018 14:43
@coveralls
Copy link

coveralls commented Aug 9, 2018

Pull Request Test Coverage Report for Build 1366

  • 2 of 2 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 99.84%

Totals Coverage Status
Change from base Build 1364: 0.0%
Covered Lines: 624
Relevant Lines: 625

💛 - Coveralls

Copy link
Contributor

@tuesmiddt tuesmiddt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestion about naming. Feel free to merge.

components = [
build_question(%{question: question}),
build_answer_by_question_type(%{question: question}),
build_answer_and_comment_by_question_type(%{question: question}),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about renaming this to just build_answer_fields_by_question_type? I foresee us adding more to this in future.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Done

@indocomsoft indocomsoft merged commit 2aecac0 into master Aug 9, 2018
@indocomsoft indocomsoft deleted the comments branch August 9, 2018 15:42
indocomsoft added a commit that referenced this pull request Aug 17, 2018
* Add comment field to the response of AssessmentsController.show

* Address code review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants