I have a question since I felt confused about the exercise.
The question is Why the original code didn’t test the method itself?
In this exercise, I think it asks us to test the instance method #posts in Dashboard Model. Buy why the original code didn’t really test the method it self.
The original code is
expect(result.map(&:title)).to match_array(%w(first_today last_today))
But I think it should be like
Or did I miss or misunderstand something?