diff --git a/spec/features/consumer/distributors_spec.rb b/spec/features/consumer/distributors_spec.rb index 8d738120c2..0f0ce829ea 100644 --- a/spec/features/consumer/distributors_spec.rb +++ b/spec/features/consumer/distributors_spec.rb @@ -77,8 +77,8 @@ scenario "viewing a list of distributors (with active products) in the sidebar w # Then I should see a list containing 5 distributors that have products in stock page.should have_selector '#distributor_filter li a', :count => 5 - # And I should see 'xx more' - page.should have_selector '#distributor_filter span.filter_more', :text => 'more' + # And I should see '1 more' + page.should have_selector '#distributor_filter span.filter_more', :text => '1 more' # And I should see a browse distributors button page.should have_selector "#distributor_filter input[value='Browse All Distributors']" diff --git a/spec/features/consumer/suppliers_spec.rb b/spec/features/consumer/suppliers_spec.rb index ff7b2caecb..6abc642aac 100644 --- a/spec/features/consumer/suppliers_spec.rb +++ b/spec/features/consumer/suppliers_spec.rb @@ -59,8 +59,8 @@ feature %q{ # Then I should see a list containing 5 suppliers that have products in stock page.should have_selector '#supplier_filter li a', :count => 5 - # And I should see 'xx more' - page.should have_selector '#supplier_filter span.filter_more', :text => 'more' + # And I should see '1 more' + page.should have_selector '#supplier_filter span.filter_more', :text => '1 more' # And I should see a browse suppliers button page.should have_selector "#supplier_filter input[value='Browse All Suppliers']"