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 characters
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 |
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 characters
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 |
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 characters
# Don't change this file! | |
# Configure your app in config/environment.rb and config/environments/*.rb | |
RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT) | |
module Rails | |
class << self | |
def boot! | |
unless booted? | |
preinitialize |