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

Update books_spec.rb #12

Merged
merged 2 commits into from
Jan 19, 2021
Merged

Update books_spec.rb #12

merged 2 commits into from
Jan 19, 2021

Conversation

migarjo
Copy link

@migarjo migarjo commented Jan 19, 2021

I want to add year validation in this project

  • Add unit test
  • Add behavior

@migarjo migarjo self-assigned this Jan 19, 2021
@migarjo migarjo added the bug Something isn't working label Jan 19, 2021
@migarjo migarjo marked this pull request as draft January 19, 2021 16:22
@migarjo migarjo marked this pull request as ready for review January 19, 2021 16:24
Copy link
Collaborator

@deepthought-the-bot deepthought-the-bot left a comment

Choose a reason for hiding this comment

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

I approve. LGTM 👍 :shipit:

@@ -21,7 +21,7 @@
end

# TODO: Replace `skip` with `it`
skip "validates a numeric year" do
it "validates a numeric year" do
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a fancy unit test. good job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants