From 6ebd58b67d22653598a731a563e30e0162034bbf Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Thu, 22 Jan 2015 09:24:23 +1100 Subject: [PATCH] Updating home spec to reflect new shopfront url --- spec/features/consumer/home_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/features/consumer/home_spec.rb b/spec/features/consumer/home_spec.rb index f5b8091432..128b1f734f 100644 --- a/spec/features/consumer/home_spec.rb +++ b/spec/features/consumer/home_spec.rb @@ -13,13 +13,13 @@ feature 'Home', js: true do let!(:er) { create(:enterprise_relationship, parent: distributor, child: producer) } before do - visit "/" + visit "/" end it "shows hubs" do page.should have_content distributor.name expand_active_table_node distributor.name - page.should have_content "OUR PRODUCERS" + page.should have_content "OUR PRODUCERS" end it "does not show invisible hubs" do @@ -35,7 +35,7 @@ feature 'Home', js: true do it "should link to the hub page" do follow_active_table_node distributor.name - current_path.should == "/shop" + current_path.should == enterprise_shop_path(distributor) end it "should show hub producer modals" do