Revert transpec in ability_spec.rb:461 so that spec is green again

This commit is contained in:
luisramos0
2019-05-09 23:33:40 +01:00
parent 6dcc0b1d68
commit 9cfba8ad19

View File

@@ -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