From cebfa2048aac73f99ce38a3f016bb4965a0edc20 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Thu, 7 Nov 2013 06:49:58 +0000 Subject: [PATCH] products_feature: fix cucumber tests --- features/browse_catalogs.feature | 2 +- features/browse_enterprises.feature | 2 +- features/enterprise_homepage.feature | 1 + features/manage_inputs.feature | 2 +- features/manage_product_price_details.feature | 2 +- features/manage_products.feature | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/features/browse_catalogs.feature b/features/browse_catalogs.feature index 16bede9..83b32df 100644 --- a/features/browse_catalogs.feature +++ b/features/browse_catalogs.feature @@ -9,7 +9,7 @@ Feature: browse catalogs And the following enterprises | identifier | owner | name | enabled | | artebonito | joaosilva | Associação de Artesanato de Bonito | true | - And feature "disable_products_for_enterprises" is disabled on environment + And feature "products_for_enterprises" is enabled on environment And the following product_categories | name | | categ1 | diff --git a/features/browse_enterprises.feature b/features/browse_enterprises.feature index 59e6d59..16f14fa 100644 --- a/features/browse_enterprises.feature +++ b/features/browse_enterprises.feature @@ -6,7 +6,7 @@ Background: Given the following enterprises | identifier | name | | shop1 | Shoes Shop | - And feature "disable_products_for_enterprises" is disabled on environment + And feature "products_for_enterprises" is enabled on environment And feature "show_balloon_with_profile_links_when_clicked" is enabled on environment Scenario: show all enterprises diff --git a/features/enterprise_homepage.feature b/features/enterprise_homepage.feature index 4bcf9c2..623e4b0 100644 --- a/features/enterprise_homepage.feature +++ b/features/enterprise_homepage.feature @@ -21,6 +21,7 @@ Feature: enterprise homepage And the following product | name | category | owner | | Natural Handmade | soap | mayhem | + And feature "products_for_enterprises" is enabled on environment Scenario: display profile info diff --git a/features/manage_inputs.feature b/features/manage_inputs.feature index ade7ca6..3c2b1ac 100644 --- a/features/manage_inputs.feature +++ b/features/manage_inputs.feature @@ -19,7 +19,7 @@ Feature: manage inputs And the following product | owner | category | name | | redemoinho | rock | Abbey Road | - And feature "disable_products_for_enterprises" is disabled on environment + And feature "products_for_enterprises" is enabled on environment And the following units | singular | plural | | Meter | Meters | diff --git a/features/manage_product_price_details.feature b/features/manage_product_price_details.feature index 32265cf..35a9f88 100644 --- a/features/manage_product_price_details.feature +++ b/features/manage_product_price_details.feature @@ -19,7 +19,7 @@ Feature: manage product price details And the following product | owner | category | name | price | | redemoinho | rock | Abbey Road | 80.0 | - And feature "disable_products_for_enterprises" is disabled on environment + And feature "products_for_enterprises" is enabled on environment And the following inputs | product | category | price_per_unit | amount_used | | Abbey Road | Rock | 10.0 | 2 | diff --git a/features/manage_products.feature b/features/manage_products.feature index 53cf153..0f4e026 100644 --- a/features/manage_products.feature +++ b/features/manage_products.feature @@ -9,7 +9,7 @@ Feature: manage products And the following enterprises | identifier | owner | name | enabled | | redemoinho | joaosilva | Rede Moinho | true | - And feature "disable_products_for_enterprises" is disabled on environment + And feature "products_for_enterprises" is enabled on environment Scenario: display "create new product" button Given I am logged in as "joaosilva" -- libgit2 0.21.2