Use dynamic fake data in the spec
This commit is contained in:
parent
4d38305110
commit
73ce49de25
14 changed files with 36 additions and 36 deletions
|
|
@ -8,8 +8,8 @@ describe TrackSerializer, type: :serializer do
|
|||
expected_json = {
|
||||
track: {
|
||||
guid: track.guid,
|
||||
name: 'Example Track',
|
||||
color: '#ffffff'
|
||||
name: track.name,
|
||||
color: track.color
|
||||
}
|
||||
}.to_json
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue