diff --git a/spec/models/spree/ability_spec.rb b/spec/models/spree/ability_spec.rb index 4a05c56b87..0c1dd9eb32 100644 --- a/spec/models/spree/ability_spec.rb +++ b/spec/models/spree/ability_spec.rb @@ -145,7 +145,7 @@ module Spree end it "should be able to read/write related enterprises' products and variants with manage_products permission" do - er_p + er_ps should have_ability([:admin, :read, :update, :product_distributions, :bulk_edit, :bulk_update, :clone, :destroy], for: p_related) should have_ability([:admin, :index, :read, :edit, :update, :search, :destroy], for: p_related.master) end