I was reading at the code from Learn and found something here Announcement spec that cached my attention.
It is a good idea to test for implementation details like the definition of columns? Associations and validations? and if that’s the case why?
Normally what I try to do is test behavior that implies some of those things from that particular behavior, I feel like this test is testing Rails not the business logic for the Learn app. Let me know what you guys think on this thoughts.