ActiveMocker v2.6.0 Release Notes

Release Date: 2017-12-01 // over 4 years ago
  • ๐Ÿ”‹ Feature

    • Relation#order now accepts all non-SQL arguments

    Example usage:

      User.order('name')
    
      User.order(:name)
    
      User.order(email: :desc)
    
      User.order(:name, email: :desc)
    
      User.order(name: :desc, email: :asc)
    

    โœจ Enhancement

    • ๐Ÿ‘Œ Improved output for rake active_mocker:build. When all mocks built successfully the messaging could be misleading.
    • ๐Ÿ‘ Error message for calling stubbed methods better formats RSpec syntax for variable names.
    • ๐Ÿคก Now whitelist all locally defined methods as safe to copy/run within mock ```ruby