simplify if logic
add spec for new
if current_user does not have organizations, it will occur an error
add spec that if not logged in, user can not post
[REFACTOR] add method render_access_denied
Merge branch 'master' into improvement-the-coverage-rate-for-snippets

* master: (42 commits)
  remove unused helpers
  remove unused controller
  change spec according to a643eff7
  Add a fabricator for Star
  Add a fabricator for Message
  Revert "add fabricators"
  Use MessageDecorator for messages
  Remove transition_helper_spec.rb
  Use MessageFabricator
  Add a fabricator for Message
  Implenent MessageDecorator#content for secret snippets
  Add transition/show.html.erb
  Alert on error
  Add transition page
  tiny fix for English [ci skip]
  fix encoding
  add transaction spec
  return valid error response
  [REFACTOR] adapt to transaction
  [REFACTOR] use ActiveRecord::Base#increment
  ...
add validation to snippet

require at least 1 message.
add spec for snippet
snippet can't save without message
compatible with snippet validation
remove unused spec
add spec for render_access_denied
add zeus
no use as instance value
set default title while instead of controller
change public post description

before: Public post to iiirc!********************
after: Public post!

is it okay to change? @shikakun
if you have any idea, please tell me.
set publicity

Public post! という文言に頼ってるので危険ではある...
もし事故があっても基本 Secret になってしまうほうが、
Secret が Public になってしまうよりは事故が少ないでそちらに寄せた
move controller logic to model
[REFACTOR] there's no need to use Enumerable#collect
fix encoding matter

refs: https://travis-ci.org/iiirc/iiirc/jobs/7257885