Skip to content

Commit e0d2cd3

Browse files
authored
Update test/async/http/faraday/adapter.rb
1 parent 281fad9 commit e0d2cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/async/http/faraday/adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def get_response(url = bound_url, path = '/index', adapter_options: {})
211211
expect(response.body).to be(:empty?)
212212
expect(streamed).to be == [["chunk0", 6], ["chunk1", 12], ["chunk2", 18]]
213213
expect(env).to be_a(Faraday::Env)
214-
expect(env.status).to be == 200
214+
expect(env).to have_attributes(status: be == 200)
215215
end
216216
end
217217
end

0 commit comments

Comments
 (0)