Skip to content

Commit

Permalink
Fixed an expectation that was disabled by a bug.
Browse files Browse the repository at this point in the history
This will not expect:
  expect(...) if the_wrong_hash.has_key? :foo
  • Loading branch information
mvidner committed Oct 10, 2014
1 parent 0f3c7d9 commit 81ed39b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/routing_test.rb
Expand Up @@ -268,9 +268,9 @@ def fw_independent_write_expects

exported = Routing.Export
expect(exported["ipv4_forward"])
.to be_equal(ay_test["ipv4_forward"]) if ay_test.has_key?("ipv4_forward")
.to eql(ay_test[:input]["ipv4_forward"]) if ay_test[:input].has_key?("ipv4_forward")
expect(exported["ipv6_forward"])
.to be_equal(ay_test["ipv6_forward"]) if ay_test.has_key?("ipv6_forward")
.to eql(ay_test[:input]["ipv6_forward"]) if ay_test[:input].has_key?("ipv6_forward")
end

it "Checking routes entries" do
Expand Down

0 comments on commit 81ed39b

Please sign in to comment.