Skip to content
  • Pistos's avatar
    a604dd2a
    Refactor implementation of #reshare_count. · a604dd2a
    Pistos a rédigé
    The old implementation which uses Post.where causes
    
      undefined method `abstract_class?' for Object:Class
    
    in spec/controllers/posts_controller_spec.rb.  Not sure whether that's a problem
    with Rails, or rspec, or what.
    a604dd2a
    Refactor implementation of #reshare_count.
    Pistos a rédigé
    The old implementation which uses Post.where causes
    
      undefined method `abstract_class?' for Object:Class
    
    in spec/controllers/posts_controller_spec.rb.  Not sure whether that's a problem
    with Rails, or rspec, or what.
Chargement en cours