From e476324c604cc57fa0f90b905da5e85c2ec2a483 Mon Sep 17 00:00:00 2001 From: Rafael Schouten Date: Tue, 7 Oct 2014 00:22:45 +1100 Subject: [PATCH] fix for_order_cycle test --- 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 f9a1b9fcd3..5920a66f3c 100644 --- a/spec/models/spree/ability_spec.rb +++ b/spec/models/spree/ability_spec.rb @@ -268,7 +268,7 @@ module Spree #TODO clarify :for_order_cycle and its purpose - and possibly rename it. it "should be able to do something with order cycles (??)" do - should have_ability([:for_order_cycle], Enterprise) + should have_ability([:admin, :index, :for_order_cycle, :create], for: Enterprise) end end