1. 04 Aug, 2016 1 commit
    • joshbabier's avatar
      TST: Use more accurate time windows so tests do not fail · a92281ce
      joshbabier authored
      Currently, the way the 'starts_at' and 'ends_at' attributes are set,
      if the specs are run at one second to midnight, the broadcast message
      will expire in one second. I have changed it so that we are guaranteed
      a period of one day until expiration. I believe this is the desired
      behaviour and it's also consistent with the rest of the factory.
      
      This corrects the following three specs that can fail depending upon
      where and when they are run:
      
      ./spec/helpers/broadcast_messages_helper_spec.rb:42
      ./spec/models/broadcast_message_spec.rb:26
      ./spec/models/broadcast_message_spec.rb:47
      a92281ce
  2. 03 Jun, 2016 2 commits
  3. 09 May, 2016 1 commit
  4. 21 Mar, 2016 1 commit
  5. 04 Mar, 2016 1 commit
  6. 13 Jan, 2016 2 commits
  7. 09 Apr, 2014 1 commit
  8. 19 Dec, 2013 1 commit
  9. 18 Dec, 2013 1 commit
  10. 13 Nov, 2013 1 commit
  11. 12 Nov, 2013 1 commit