Commit cebfa2048aac73f99ce38a3f016bb4965a0edc20

Authored by Rodrigo Souto
1 parent 001d3b42

products_feature: fix cucumber tests

features/browse_catalogs.feature
... ... @@ -9,7 +9,7 @@ Feature: browse catalogs
9 9 And the following enterprises
10 10 | identifier | owner | name | enabled |
11 11 | artebonito | joaosilva | Associação de Artesanato de Bonito | true |
12   - And feature "disable_products_for_enterprises" is disabled on environment
  12 + And feature "products_for_enterprises" is enabled on environment
13 13 And the following product_categories
14 14 | name |
15 15 | categ1 |
... ...
features/browse_enterprises.feature
... ... @@ -6,7 +6,7 @@ Background:
6 6 Given the following enterprises
7 7 | identifier | name |
8 8 | shop1 | Shoes Shop |
9   - And feature "disable_products_for_enterprises" is disabled on environment
  9 + And feature "products_for_enterprises" is enabled on environment
10 10 And feature "show_balloon_with_profile_links_when_clicked" is enabled on environment
11 11  
12 12 Scenario: show all enterprises
... ...
features/enterprise_homepage.feature
... ... @@ -21,6 +21,7 @@ Feature: enterprise homepage
21 21 And the following product
22 22 | name | category | owner |
23 23 | Natural Handmade | soap | mayhem |
  24 + And feature "products_for_enterprises" is enabled on environment
24 25  
25 26  
26 27 Scenario: display profile info
... ...
features/manage_inputs.feature
... ... @@ -19,7 +19,7 @@ Feature: manage inputs
19 19 And the following product
20 20 | owner | category | name |
21 21 | redemoinho | rock | Abbey Road |
22   - And feature "disable_products_for_enterprises" is disabled on environment
  22 + And feature "products_for_enterprises" is enabled on environment
23 23 And the following units
24 24 | singular | plural |
25 25 | Meter | Meters |
... ...
features/manage_product_price_details.feature
... ... @@ -19,7 +19,7 @@ Feature: manage product price details
19 19 And the following product
20 20 | owner | category | name | price |
21 21 | redemoinho | rock | Abbey Road | 80.0 |
22   - And feature "disable_products_for_enterprises" is disabled on environment
  22 + And feature "products_for_enterprises" is enabled on environment
23 23 And the following inputs
24 24 | product | category | price_per_unit | amount_used |
25 25 | Abbey Road | Rock | 10.0 | 2 |
... ...
features/manage_products.feature
... ... @@ -9,7 +9,7 @@ Feature: manage products
9 9 And the following enterprises
10 10 | identifier | owner | name | enabled |
11 11 | redemoinho | joaosilva | Rede Moinho | true |
12   - And feature "disable_products_for_enterprises" is disabled on environment
  12 + And feature "products_for_enterprises" is enabled on environment
13 13  
14 14 Scenario: display "create new product" button
15 15 Given I am logged in as "joaosilva"
... ...