Skip to content
  • Sean Griffin's avatar
    858a7b04
    Move the appropriate type tests to the Active Model suite · 858a7b04
    Sean Griffin authored
    Any tests for a type which is not overridden by Active Record, and does
    not test the specifics of the attributes API interacting in more complex
    ways have no reason to be in the Active Record suite. Doing this
    revealed that the implementation of the date and time types in AM was
    actually completely broken, and incapable of returning any value other
    than `nil`.
    858a7b04
    Move the appropriate type tests to the Active Model suite
    Sean Griffin authored
    Any tests for a type which is not overridden by Active Record, and does
    not test the specifics of the attributes API interacting in more complex
    ways have no reason to be in the Active Record suite. Doing this
    revealed that the implementation of the date and time types in AM was
    actually completely broken, and incapable of returning any value other
    than `nil`.
Loading