resolve/refinerycms-blog — pull request #157 by phiggins (2011-12-14 23:32:13+00:00)
Title: Add author attribution

This pull request adds a configurable author for blog posts, closing #140.

The default behavior is the same as it is currently, setting the currently logged in user as the author. I added a select box under Advanced Options on the blog post form that allows the selection of a different author. I'm not too happy with the tooltip text for the Author field, so if someone can come up with something more clear while maintaining the conciseness, please suggest it.

Also, while I was there, I fixed a spec that wasn't testing anything. It was testing whether a blog post's author's .login was equal to the last created user's .login, but since these always seem to return nil that test was always passing.