Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSC can create hospitals #13

Merged
merged 49 commits into from
Nov 6, 2018

Conversation

angiecstn
Copy link
Collaborator

@angiecstn angiecstn commented Nov 3, 2018

PT Link

https://www.pivotaltracker.com/story/show/161589429

Included in PR

  • Adding create and show method for Hospital
  • Fixing routes for Hospital
  • Fixing view for Hospital
  • Unit test + Feature test

Screenshot

screenshot 2018-11-05 at 20 44 55

@coveralls
Copy link

coveralls commented Nov 5, 2018

Pull Request Test Coverage Report for Build 34

  • 9 of 9 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+3.3%) to 64.211%

Totals Coverage Status
Change from base Build 22: 3.3%
Covered Lines: 61
Relevant Lines: 95

💛 - Coveralls

tochman
tochman previously requested changes Nov 6, 2018
Copy link
Member

@tochman tochman left a comment

Choose a reason for hiding this comment

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

Please address my comments before removing the WIP tag and merge. Not quite ready for merge yet IMO.

@angiecstn angiecstn dismissed tochman’s stale review November 6, 2018 09:56

All comments have been addressed / issues have been solved

.list-grid
.list-name
= f.text_field :name, id: "Name", class: "form-input-field"
Copy link
Member

Choose a reason for hiding this comment

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

If .list-grid is supposed to be a wrapper around the link_to, this line needs to be intended

Copy link
Member

@tochman tochman Nov 6, 2018

Choose a reason for hiding this comment

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

Sorry, my bad, I mean f.text_field

Copy link
Member

Choose a reason for hiding this comment

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

.list-grid
      .list-name
             = f.text_field :name, id: "Name", class: "form-input-field"

Copy link
Member

Choose a reason for hiding this comment

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

And also, please make sure to use single quotes. Install RuboCop extension and you will be able to format your code and fix details like that with auto format.

= f.text_field :name, id: "Name", class: "form-input-field"
.list-button-area
= f.submit value: "Add Hospital", class: "button text-center"
Copy link
Member

Choose a reason for hiding this comment

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

See comment above

features/rsc_can_create_new_hospitals.feature Outdated Show resolved Hide resolved
Copy link
Member

@tochman tochman left a comment

Choose a reason for hiding this comment

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

Good job.

@Prozak8 Prozak8 merged commit 0829fb0 into CraftAcademy:development Nov 6, 2018
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.

None yet

7 participants