Default value for length in as_json fixed

The default value for length in as_json should be a multiple of EventType::LENGTH_STEP.
This commit is contained in:
Ana 2016-07-18 11:45:59 +02:00
parent 8388385b51
commit a0fc9dd950
3 changed files with 3 additions and 3 deletions

View file

@ -246,7 +246,7 @@ describe Event do
expect(json_hash[:room_guid]).to be_nil
expect(json_hash[:track_color]).to eq('#FFFFFF')
expect(json_hash[:length]).to eq(25)
expect(json_hash[:length]).to eq(15)
end
end