Permalink
Browse files

Asking to retry when you haven't even tried

  • Loading branch information...
1 parent 0da6646 commit d6ab85881b80a8b880ed09db12e395f604b188a7 @mike-burns mike-burns committed Nov 11, 2010
Showing with 5 additions and 1 deletion.
  1. +1 −1 app/models/message.rb
  2. +4 −0 features/asking_for_a_date.feature
View
@@ -128,7 +128,7 @@ def self.handle_retry(user)
QUEUE.enqueue_at(5.minutes.from_now, RejectMessageDelayer, :user_id => user.id)
user.tell("Trying to get you a date. Back in five.")
else
- handle_unknown_retry(user)
+ handle_new_date(user)
end
else
outside_dating_hours(user)
@@ -92,3 +92,7 @@ Feature: Asking for a date
And "15555555555" should not get a text whose message includes "Want to go on a date"
But "16666666666" should get a text whose message includes "Want to go on a date"
And "18004688487" should get a text "Trying to get you a date. Back in five."
+
+ Scenario: Asking for a retry when you haven't even tried
+ When "18004688487" texts instalover with "retry"
+ Then "18004688487" should get a text "Should we find you a date at Silvertone at 09:00PM? Reply 'ok' or 'new date' to try again."

0 comments on commit d6ab858

Please sign in to comment.