From 7fc80a09759ae5d2e90d767eb3a517f80e16076e Mon Sep 17 00:00:00 2001 From: Rob H Date: Thu, 24 Jul 2014 11:05:14 +1000 Subject: [PATCH] Fix failing enterprise spec --- spec/features/admin/enterprises_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/features/admin/enterprises_spec.rb b/spec/features/admin/enterprises_spec.rb index ee518d9967..4d277972e5 100644 --- a/spec/features/admin/enterprises_spec.rb +++ b/spec/features/admin/enterprises_spec.rb @@ -129,13 +129,13 @@ feature %q{ # Check Angularjs switching of sidebar elements uncheck 'enterprise_is_primary_producer' uncheck 'enterprise_is_distributor' - page.should_not have_selector "#payment_methods" - page.should_not have_selector "#shipping_methods" - page.should_not have_selector "#enterprise_feess" + page.should have_selector "#payment_methods", visible: false + page.should have_selector "#shipping_methods", visible: false + page.should have_selector "#enterprise_fees", visible: false check 'enterprise_is_distributor' page.should have_selector "#payment_methods" page.should have_selector "#shipping_methods" - page.should have_selector "#enterprise_feess" + page.should have_selector "#enterprise_fees" select eg1.name, from: 'enterprise_group_ids'