Created
December 24, 2009 01:56
Revisions
-
mwilden created this gist
Dec 24, 2009 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ Feature: Quitter sees information about his quit As someone who's quitting smoking I want to see information about my quit So that I'm motivated to stay quit Scenario: I quit smoking Given I quit smoking on 1/1/2008 8AM # 0.000763888888888889 cigarettes/second And I used to smoke 66 cigarettes a day # $0.2715/cigarette And a pack of cigarettes costs $5.43 # 36,896,550 seconds And it's now 3/3/2009 9:02:30AM And I am on the main page Then I should see "It's now Tuesday, Mar 3, 2009 at 9:02 am" And I should see "You quit smoking on Tuesday, Jan 1, 2008 at 8:00 am" And I should see "You've been smoke-free for 1 year, 2 months, 2 days 01:02:30" And I should see "You've not smoked 28,184 cigarettes" And I should see "You've saved $9,588.99 (adjusted for inflation)"