mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-03 07:48:50 +01:00
Inconsistency in test. Why didn't I catch that?
This commit is contained in:
parent
6210d3033d
commit
98136d8ef2
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ class SMSGatewayTest < Test::Rails::TestCase
|
|||
SMSGateway.receive(valid_show_msg2)
|
||||
valid_show_todo2 = Todo.find(:first, :conditions => {:description => "do something next week and remember it!"})
|
||||
assert_not_nil(valid_show_todo2)
|
||||
assert_equal(Date.tomorrow.next_week, valid_show_todo2.show_from)
|
||||
assert_equal(Date.today.next_week, valid_show_todo2.show_from)
|
||||
|
||||
SMSGateway.receive(valid_show_msg3)
|
||||
valid_show_todo3 = Todo.find(:first, :conditions => {:description => "alternative format"})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue