Skip to content

Commit

Permalink
standard
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Nov 26, 2024
1 parent 04f6e7e commit 2019357
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ def mysql_connection_string
{type: 'Symbol', value: 'attributes'},
{type: 'Hash', entries: [[{type: 'String', value: 'id'}, {type: 'NilClass', isNull: true}]]},
], [
{type: 'Symbol', value: 'new_record'},
{type: 'TrueClass', value: 'true'},
{type: 'Symbol', value: 'new_record'},
{type: 'TrueClass', value: 'true'},
]]}},
{name: "AR model with empty attributes",
input: -> { SerializerRailsSpecTestBasicModel.new },
Expand All @@ -93,8 +93,8 @@ def mysql_connection_string
[{type: 'String', value: 'updated_at'}, {type: 'NilClass', isNull: true}],
]},
], [
{type: 'Symbol', value: 'new_record'},
{type: 'TrueClass', value: 'true'},
{type: 'Symbol', value: 'new_record'},
{type: 'TrueClass', value: 'true'},
]]}},
{name: "AR model with filled out attributes",
input: -> {
Expand All @@ -112,8 +112,8 @@ def mysql_connection_string
[{type: 'String', value: 'updated_at'}, {type: 'Time', value: '2020-01-03T00:00:00Z'}],
]},
], [
{type: 'Symbol', value: 'new_record'},
{type: 'TrueClass', value: 'true'},
{type: 'Symbol', value: 'new_record'},
{type: 'TrueClass', value: 'true'},
]]}},
{name: "AR model with filled out attributes and persisted",
input: -> {
Expand All @@ -131,8 +131,8 @@ def mysql_connection_string
[{type: 'String', value: 'updated_at'}, {type: 'Time', value: '2020-01-03T00:00:00Z'}],
]},
], [
{type: 'Symbol', value: 'new_record'},
{type: 'FalseClass', value: 'false'},
{type: 'Symbol', value: 'new_record'},
{type: 'FalseClass', value: 'false'},
]]}},
]

Expand Down

0 comments on commit 2019357

Please sign in to comment.