chapmanu / signage

Digital Signage Riding on Rails
MIT License
13 stars 6 forks source link

Tests involving draft IDs will intermittently fail. #190

Open tatwell opened 7 years ago

tatwell commented 7 years ago

We've added a story to remove the use of negative IDs to indicate slide drafts: https://trello.com/c/K0uYsJyq


An example:

1) Failure:
SlideDraftTest#test_drafts_have_equivalent_negative_ids [test/integration/slide_draft_test.rb:13]:
Expected: -284678023
  Actual: -1041853871

Happens infrequently in my experience. The implementation of the draft concept using negative values for draft IDs seems problematic.