Skip to content
View PWSdelta's full-sized avatar

Block or report PWSdelta

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 250 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Rails Rspec model testing skeleton &... Rails Rspec model testing skeleton & cheat sheet using rspec-rails, shoulda-matchers, shoulda-callbacks, and factory_girl_rails. Pretty much a brain dump of examples of what you can (should?) test in a model. Pick & choose what you like, and please let me know if there are any errors or new/changed features out there. Reddit comment thread: http://www.reddit.com/r/rails/comments/2ior1z/gist_of_rails_rspec_model_testing_skeleton_cheat
    1
    # This is a skeleton for testing models including examples of validations, callbacks,
    2
    # scopes, instance & class methods, associations, and more.
    3
    # Pick and choose what you want, as all models don't NEED to be tested at this depth.
    4
    #
    5
    # I'm always eager to hear new tips & suggestions as I'm still new to testing,
  2. 42 Sweet, sweet things Rails (and Ru... 42 Sweet, sweet things Rails (and Ruby) can do. Wonderful reference.
    1
    ### 1. Get You a Hug, Every Friday
    2
    
                  
    3
    FridayHug.com <http://fridayhug.com>
    4
    
                  
    5
    ### 2. Run From a Single File