Skip to content

Commit

Permalink
Fix the order of receivers in the DotHelper specs
Browse files Browse the repository at this point in the history
This should fix occasional build failure on CI.
  • Loading branch information
knu committed Oct 27, 2016
1 parent 4f93db6 commit faa2789
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/helpers/dot_helper_spec.rb
Expand Up @@ -53,6 +53,11 @@ def check
]
@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
Expand Down

0 comments on commit faa2789

Please sign in to comment.