From 2d82f76a43c9fce3f9ea87e096616192c132b705 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Wed, 14 Jan 2015 14:52:43 +1100 Subject: [PATCH] Fix changed var in ability spec --- spec/models/spree/ability_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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