Fix the order of receivers in the DotHelper specs

This should fix occasional build failure on CI.
This commit is contained in:
Akinori MUSHA 2016-10-27 16:31:24 +09:00
parent 4f93db60e7
commit faa2789a0c

View file

@ -53,6 +53,11 @@ describe DotHelper do
]
@foo.reload
@bar2.reload
# Fix the order of receivers
@agents.each do |agent|
stub.proxy(agent).receivers { |orig| orig.order(:id) }
end
end
it "generates a DOT script" do