This file contains 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
require 'rubygems' | |
require 'mechanize' | |
FIRST_NAME = 'FIRST_NAME' | |
LAST_NAME = 'LAST_NAME' | |
PHONE = 'PHONE' | |
EMAIL = 'EMAIL@provider.com' | |
PARTY_SIZE = 2 | |
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' } |
This file contains 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
When I fill in the subscription forms with valid data | |
And I should see "Enter your credit card details to start exploring films." | |
And I should see "By clicking Subscribe, you authorize us to continue your month-to-month Fandor subscription (currently $10.00 a month) automatically, charged monthly to the payment method provided, untill you cancel." | |
Correct (emphasis added): | |
When I fill in the subscription forms with valid data | |
***Then*** I should see "Enter your credit card details to start exploring films." | |
And I should see "By clicking Subscribe, you authorize us to continue your month-to-month Fandor subscription (currently $10.00 a month) automatically, charged monthly to the payment method provided, untill you cancel." |