Skip to content

Commit 76730b4

Browse files
committed
Adjust test for use with rabbit running locally in docker
1 parent f732a7d commit 76730b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/integration/api_endpoints_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def await_event_propagation
197197
xs = subject.list_connections
198198
f = xs.first
199199

200-
expect(f.name).to match(/127.0.0.1/)
200+
expect(f.name).to match(/(127\.0\.0\.1|172\.18\.0\.1)/)
201201
expect(f.client_properties.product).to eq("Bunny")
202202
end
203203
end
@@ -208,7 +208,7 @@ def await_event_propagation
208208
xs = subject.list_connections
209209
c = subject.connection_info(xs.first.name)
210210

211-
expect(c.name).to match(/127.0.0.1/)
211+
expect(c.name).to match(/(127\.0\.0\.1|172\.18\.0\.1)/)
212212
expect(c.client_properties.product).to eq("Bunny")
213213
end
214214
end

0 commit comments

Comments
 (0)