spec code added
Merge pull request #642 from loomio/refactor/view-logger-spec

Spec code added into view_logger_spec