Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

'prepositions' test in 05_book_titles/book_titles_spec.rb fails unnecessarily #49

Open
blerg-rush opened this issue Aug 19, 2019 · 0 comments

Comments

@blerg-rush
Copy link

The test string for 'prepositions' fails even if the title method properly handles prepositions but not articles, because it contains the word "the". A better test for this case would only include prepositions that the method should leave uncapitalized; otherwise, students may be confused when this test fails.

A test for 'articles' already exists, so we don't need to test for both here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant