Flowdock
method

assert_reject_connection

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Assertions
assert_reject_connection(&block) public

Asserts that the connection is rejected (via reject_unauthorized_connection).

# Asserts that connection without user_id fails
assert_reject_connection { connect params: { user_id: '' } }
Show source
Register or log in to add new notes.