-
Notifications
You must be signed in to change notification settings - Fork 355
Description
Under Example at Line 32 the spec says
Blog.new Date.parse("2007-01-02"), lissa, "Going dancing!" # we'll call this blog2
Blog.new Date.parse("2006-01-02"), lissa, "For the last time, fuck facebook >.<" # we'll call this blog3
Blog.new Date.parse("2010-01-02"), lissa, "Got a new job, cuz I'm pretty much the best ^_^" # we'll call this blog4
lissa.blogs # => [ blog1 , blog4 , blog2 , blog3 ]
However, calling Blog.new directly and not via lissa.add_blog will not add blog2, blog3 and blog4 to lissa.blogs, will it?
Additionally (negligible, but here it goes), it seems like you want an attribute 'blogs' for User class and not a method, there is no mention of 'entry' method for Blog class except in examples and there is no mention of add_blog returning the added blog except when a rake test fails.
Looking at the test cases I managed to figure out what was expected and complete the challenge. However, I just wanted to raise it back to you in case anything I have raised is correct and in case you are planning on making updates to ruby-kickstart in the future.
Thank you for the brilliant tutorial. I have learnt a lot from it.