fixed rspec tests for rating