From 98136d8ef277ab57f62b1472abaa9ffe199ff813 Mon Sep 17 00:00:00 2001 From: epall Date: Sun, 15 Jun 2008 08:56:07 -0700 Subject: [PATCH] Inconsistency in test. Why didn't I catch that? --- test/unit/sms_gateway_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/sms_gateway_test.rb b/test/unit/sms_gateway_test.rb index 6852566e..da6c121d 100644 --- a/test/unit/sms_gateway_test.rb +++ b/test/unit/sms_gateway_test.rb @@ -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"})