Skip to content

Commit

Permalink
Fix integration test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Merten Falk authored and Merten Falk committed Mar 3, 2016
1 parent f6b0d6d commit 7e6d67b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/sneakers/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def assert_all_accounted_for(opts)

message = get_message_from_queue("#{queue_name}.error")

assert_equal(JSON.load(message[2])['num_attempts'], 3)
assert_equal(JSON.load(message[2])['_error']['num_attempts'], 3)
end
end

Expand Down Expand Up @@ -323,7 +323,7 @@ def assert_all_accounted_for(opts)

message = get_message_from_queue(error_queue_name)

assert_equal(3, JSON.load(message[2])['num_attempts'])
assert_equal(3, JSON.load(message[2])['_error']['num_attempts'])
end
end

Expand Down

0 comments on commit 7e6d67b

Please sign in to comment.