Browse Source

Added a test for workshops in the review page

development
Godwin 7 years ago
parent
commit
6a6dfca503
  1. 2
      config/locales/en.yml
  2. 7
      features/workshops.feature

2
config/locales/en.yml

@ -1816,7 +1816,7 @@ en:
payment_form: Please select one of the predefined options below or enter a custom amount.
org_select: Please select the organization that you will be representing. This information will be used to help us contact and invite your organization next year and to populate the list of known organizations that will be displayed on bikecollectives.org. If you are involved with multiple oganizations, please select one for now, you will be able to add more organizations at a later date.
payment_type: Registration is by donation but it enables us to pay for spaces, food, equipment, and more. If you can, paying now via PayPal enables us to prepare for the conference without risk of paying out of pocket. Otherwise, pleging to pay on arrival will help us to get a rough idea of what we can and cannot afford.
housing_other: Do you have any special needs or considerations that we should know about for your stay such as allergies, disabilities, or a need for child care? Letting us know in advance will help us determine the best place for you to stay and make any necessary preparations for te conference itself.
housing_other: Do you have any special needs or considerations that we should know about for your stay such as allergies, disabilities, or a need for child care? Letting us know in advance will help us determine the best place for you to stay and make any necessary preparations for the conference itself.
housing_allergies: Let us know if you have any allergies that we should be made aware of.
housing_food: Please let us know your eating habits by selecting the option that best describes the type of food that you eat. We will use this to decide the best types of meals to prepare and how much food we will need.
housing_bike: In order for us to get an idea of how many bikes we will need to prepare, please let us know if you would like to borrow a bike from us.

7
features/workshops.feature

@ -66,7 +66,7 @@ Feature: Workshops
Then I should see 'New Workshop'
But I should not see any workshops
Scenario: Users can comment on an translate their own workshops
Scenario: Users can comment on and translate their own workshops
Given that there is an upcoming conference
And registration is open
And I am logged in
@ -272,6 +272,11 @@ Feature: Workshops
When I click the '-1' button beside 'The future of Bike! Bike!'
Then I should see 'The future of Bike! Bike! 10 people are interested in this workshop'
When I click the '+1' button beside 'The future of Bike! Bike!'
And click the 'Your Registration' link
Then I should see 'Your Workshops'
And I should see 'Workshops that you would like to attend'
Scenario: Translators can translate workshops
Given that there is an upcoming conference
And registration is open

Loading…
Cancel
Save