diff --git a/spec/models/spree/ability_spec.rb b/spec/models/spree/ability_spec.rb index ca76f90785..02ac8d628c 100644 --- a/spec/models/spree/ability_spec.rb +++ b/spec/models/spree/ability_spec.rb @@ -458,7 +458,7 @@ module Spree end it "should not be able to read/write OrderCycles they are not the co-ordinator of" do - is_expected.not_to have_ability([:admin, :index, :read, :create, :edit, :update, :bulk_update, :clone, :destroy], for: oc2) + should_not have_ability([:admin, :index, :read, :create, :edit, :update, :bulk_update, :clone, :destroy], for: oc2) end it "should be able to create OrderCycles" do