Skip to content

Conversation

@Odeane
Copy link

@Odeane Odeane commented Jun 25, 2020

PT board URL

User Story

As a user
In order to send messages
I want to be able to log in.

Changes proposed in this pull request:

  • Using factory robot to create a user
  • entered email address
  • Entered password
  • sad path testing

What I have learned working on this feature:

  • We learn how to create a 'decoy' with factory bot.
  • Adding testing frameworks.
  • Testing for features with rspec

Packages/Gems added

  • capybara
  • rspec rails
  • shoulda-matchers
  • factory bot rails
  • coveralls

@Odeane Odeane changed the title Log in feature VIP Log in feature Jun 25, 2020
@Odeane Odeane changed the title VIP Log in feature Log in feature Jun 25, 2020
Copy link

@emtalen emtalen left a comment

Choose a reason for hiding this comment

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

Good jobb overall, look over the formatting! And rewrite the sad path to a more realistic scenario, that a user puts in the wrong password for example.

end
end


Copy link

Choose a reason for hiding this comment

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

Remove this file if you are not using it.

Copy link

@emtalen emtalen left a comment

Choose a reason for hiding this comment

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

You still have some formatting to do, I recommend that you install a Ruby formatter so you can have a shortcut to formatting. I use Solargraph but you guys can just search for a formatter in the extensions to find one you like

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