All Versions
49
Latest Version
Avg Release Cycle
56 days
Latest Release
2031 days ago
Changelog History
Page 2
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
- Whitelist methods to import into mock code by adding a comment with
-
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.
- π Fix case where parent class was not being set and set was set to
-
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