This fixes broken tests for ActiveRecord in Rails 4.2 by updating them to expect format currently used by Rails 4.2. During this process I also simplified some of the tests by introducing a new Rspec matcher which does a lot of the heavy lifting which was previous spread throughout the testing code but unrelated to what we were actually testing.
This fixes broken tests for ActiveRecord in Rails 4.2 by updating them to expect format currently used by Rails 4.2. During this process I also simplified some of the tests by introducing a new Rspec matcher which does a lot of the heavy lifting which was previous spread throughout the testing code but unrelated to what we were actually testing.