Created
August 10, 2018 08:51
-
-
Save neudabei/405c034f36129d3142ccd54c3f788419 to your computer and use it in GitHub Desktop.
fl_medium_blogpost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These two queries | |
subject_categories = SubjectCategory.in_alphabetical_order | |
interested_subject_categories = current_user.interested_subject_categories | |
# will now return the objects set up in our test | |
let(:subject_category_interests) { [subject_category_one, subject_category_three] } | |
let(:subject_categories) { [subject_category_one, subject_category_two, subject_category_three] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment