From 9cfba8ad19af3593419c065cc85ec55fd8d12743 Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Thu, 9 May 2019 23:33:40 +0100 Subject: [PATCH] Revert transpec in ability_spec.rb:461 so that spec is green again --- 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 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