Fix failing specs

This commit is contained in:
Nihal Mohammed
2021-06-25 03:26:14 +05:30
committed by Andy Brett
parent cd0b97bf0a
commit f7795ca21a
4 changed files with 3 additions and 7 deletions

View File

@@ -1048,7 +1048,7 @@ en:
preferred_product_selection_from_coordinator_inventory_only_here: Coordinator's Inventory Only
preferred_product_selection_from_coordinator_inventory_only_all: All Available Products
save_reload: Save and Reload Page
advanced_settings_toggle:
order_cycle_top_buttons:
advanced_settings: "Advanced Settings"
coordinator_fees:
add: Add coordinator fee

View File

@@ -119,7 +119,5 @@ feature '
click_link 'Groups'
expect(page).to have_content 'My Group'
end
xit "should show me only enterprises I manage when creating a new enterprise group"
end
end

View File

@@ -43,7 +43,7 @@ feature '
end
end
pending "when user is a profile only" do
context "when user is a profile only" do
before do
d1.sells = "none"
d1.save!
@@ -51,7 +51,7 @@ feature '
it "does not show a products item" do
visit '/admin'
page.should_not have_selector "#products"
expect(page).to have_no_selector "#products"
end
end
end

View File

@@ -45,8 +45,6 @@ feature 'shipping methods' do
expect(sm.distributors).to match_array [distributor1, distributor2]
end
it "at checkout, user can only see shipping methods for their current distributor (checkout spec)"
scenario "deleting a shipping method" do
visit_delete spree.admin_shipping_method_path(@shipping_method)