1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

Doublespeak: Remove usage of deprecated RSpec #ordered method

This commit is contained in:
Elliot Winkler 2017-07-24 23:23:34 -05:00
parent 5e1e531b8b
commit ca005ed648

View file

@ -33,10 +33,8 @@ module Shoulda::Matchers::Doublespeak
block_called = false
double_collections = Array.new(3) { build_double_collection }
double_collections.each do |double_collection|
allow(double_collection).to receive(:activate).ordered
end
double_collections.each do |double_collection|
allow(double_collection).to receive(:deactivate).ordered
allow(double_collection).to receive(:activate)
allow(double_collection).to receive(:deactivate)
end
klasses = Array.new(3) { |i| "Klass #{i}" }
world = described_class.new