From 32dca814671d95130866110b3ddd1ea664294d8e Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Mon, 25 Jun 2012 09:10:34 +1000 Subject: [PATCH] Update spec for markup change --- spec/requests/consumer/add_to_cart_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/consumer/add_to_cart_spec.rb b/spec/requests/consumer/add_to_cart_spec.rb index 7d5be2fad5..14938dcc8b 100644 --- a/spec/requests/consumer/add_to_cart_spec.rb +++ b/spec/requests/consumer/add_to_cart_spec.rb @@ -62,7 +62,7 @@ feature %q{ # When I go to add it again, I should not have a choice of distributor visit spree.product_path p page.should_not have_selector 'select#distributor_id' - page.should have_selector 'p', :text => "Your distributor for this order is #{d.name}" + page.should have_selector '.distributor-fixed', :text => "Your distributor for this order is #{d.name}" end it "does not allow the user to add a product from another distributor" do