At least one high-level (Capybara) test to confirm the following:
created_attimestamp in ET in a list of "other messages"
Note that non-admin users cannot create or send these types of messages, but they may view them.
Any other classes/methods that are introduced in order to complete the above feature should have unit tests.
This type of message feels significantly different from a regular scheduled_message so it may make sense to create a new table called
messages. The table should have the following fields:
created_at(datetime - required)
updated_at(datetime - required)
title(string - required)
body(text - required)
last_sent_at(datetime - not required)
For the testing step, you can re-create the existing testing functionality available for scheduled messages.
|Summers, Dane||080194337||$3,400.00||July 13, 2016 12:53:42 PM EDT|
|SAASTREE LLC||080191524||$1,498.00||July 13, 2016 12:19:22 PM EDT|
|Mile Two||079913221||$790.00||July 13, 2016 09:50:35 AM EDT|
|WeLike, LLC||827386942||$2,000.00||July 12, 2016 02:46:22 PM EDT|
|Mila Frerichs||313210696||$1,299.00||July 12, 2016 03:24:43 AM EDT|
|Evan Rose||07-944-1444||$3,000.00||July 11, 2016 03:05:57 PM EDT|
|Dan Malks||079977978||$1,250.00||July 11, 2016 02:46:56 PM EDT|
|Geoff Harcourt||148361251||$490.00 *||July 11, 2016 01:03:17 PM EDT|
* - winning bid
Bidding for this auction closed on July 13, 2016 01:00:00 PM EDT.
July 11, 2016 01:00:00 PM EDT
July 13, 2016 01:00:00 PM EDT
July 20, 2016 01:00:00 PM EDT
Sealed bid (rules)
July 29, 2016 01:37:46 PM EDT
July 21, 2016 09:33:37 AM EDT