Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Not sure why some of this stuff isn't working. I liked the old branch…

…/merge pipes way better :(
  • Loading branch information...
commit 9e47acf2fd6763f246b5c7ffd8d2eeacd7452b1b 1 parent f41b399
Darrick Wiebe authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 spec/pacer/route/branched_route_spec.rb
View
6 spec/pacer/route/branched_route_spec.rb
@@ -15,7 +15,7 @@
end
end
- it 'should return matches in round robin order by default' do
+ it 'should return matches in fair merge order by default' do
@br.to_a.should ==
[@g.vertex(1), @g.edge(3),
@g.vertex(4), @g.edge(2),
@@ -225,7 +225,9 @@ def add_branch(vertices_path)
describe 'twice' do
# the difference must be with the object that's passed to the branch method
- let(:single) { graph.v.branch { |v| v.v{true} }.branch { |v| v.v{true} } }
+ def single
+ graph.v.branch { |v| v.v{true} }.branch { |v| v.v{true} }
+ end
let(:twice_v) { single.v.branch { |v| v.v{true} }.branch { |v| v.v{true} } }
let(:twice_m) { single.mixed.branch { |v| v.v{true} }.branch { |v| v.v{true} } }
let(:twice_v_e) { single.exhaustive.v.branch { |v| v.v{true} }.branch { |v| v.v{true} }.exhaustive }
Please sign in to comment.
Something went wrong with that request. Please try again.