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:
parent
5e1e531b8b
commit
ca005ed648
1 changed files with 2 additions and 4 deletions
|
@ -33,10 +33,8 @@ module Shoulda::Matchers::Doublespeak
|
||||||
block_called = false
|
block_called = false
|
||||||
double_collections = Array.new(3) { build_double_collection }
|
double_collections = Array.new(3) { build_double_collection }
|
||||||
double_collections.each do |double_collection|
|
double_collections.each do |double_collection|
|
||||||
allow(double_collection).to receive(:activate).ordered
|
allow(double_collection).to receive(:activate)
|
||||||
end
|
allow(double_collection).to receive(:deactivate)
|
||||||
double_collections.each do |double_collection|
|
|
||||||
allow(double_collection).to receive(:deactivate).ordered
|
|
||||||
end
|
end
|
||||||
klasses = Array.new(3) { |i| "Klass #{i}" }
|
klasses = Array.new(3) { |i| "Klass #{i}" }
|
||||||
world = described_class.new
|
world = described_class.new
|
||||||
|
|
Loading…
Reference in a new issue