specs for rating.rb
minor edits to rating.rb