Skip to content

Commit

Permalink
Doublespeak: Remove usage of deprecated RSpec #ordered method
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmire committed Sep 17, 2017
1 parent 5e1e531 commit ca005ed
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions spec/unit/shoulda/matchers/doublespeak/world_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit ca005ed

Please sign in to comment.