All Versions
49
Latest Version
Avg Release Cycle
56 days
Latest Release
2031 days ago

Changelog History
Page 2

  • v2.4.2 Changes

    January 11, 2017

    ✨ Enhancement

    • 🀑 Semantically version mock generation separately.
  • v2.4.1 Changes

    January 11, 2017

    πŸ›  Fix

    • When a type was an Array state could be shared between records.
  • v2.4.0 Changes

    December 14, 2016

    ✨ Enhancement

    • Whitelist methods to import into mock code by adding a comment with ActiveMocker.safe_methods(*methods) ```ruby
  • v2.4.0.pre3 Changes

    October 18, 2016

    πŸ›  Fix

    • βž• Add missing requires
  • v2.4.0.pre2 Changes

    October 17, 2016

    ✨ Enhancement

    • πŸ‘ ActiveRecord Enum support 🀑 Compatible with ActiveRecord versions 5 and 4. Generating using different version of ActiveRecord creates different mock files.
  • v2.4.0.pre1 Changes

    October 13, 2016

    ✨ Enhancement

    • Option to delete all records before each example It can be enabled for specific test context.

      before(:all) { active_mocker.features.enable(:delete_all_before_example) }
      after(:all) { active_mocker.features.disable(:delete_all_before_example) }
      

      Or it can be enabled as the default

      ActiveMocker::LoadedMocks.features.enable(:delete_all_before_example)
      
    • Option to enable timestamps

      ActiveMocker::LoadedMocks.features.enable(:timestamps)
      
  • v2.3.4 Changes

    October 21, 2016

    πŸ›  Fix

    • Passing a single record when to collection association now causes a failure.
  • v2.3.3 Changes

    October 13, 2016

    ✨ Enhancement

    • 🀑 Auto stubbing of ActiveRecord::RecordNotFound with requiring "active_mocker/rspec_helper"

    πŸ›  Fix

    • NoMethodError when calling #find_by! on an association when the record could not be found.
  • v2.3.2 Changes

    September 26, 2016

    πŸ›  Fix

    • πŸ›  Fix case where parent class was not being set and set was set to ActiveMocker::Base.
    • 🀑 Stop generating Mocks when table cannot be found.
  • v2.3.1 Changes

    September 26, 2016

    πŸ›  Fix

    • create_<association> failed to set the foreign key.

    ✨ Enhancement

    • πŸ‘€ Specific ActiveMocker exceptions now all inherit from ActiveMocker::BaseError