We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8ac129 commit 3249098Copy full SHA for 3249098
test/integration/whois_server_integration_test.rb
@@ -76,27 +76,6 @@ def test_receive_data_with_no_ip
76
assert_equal 0, @sent_data.length
77
end
78
79
- def test_receive_data_full_flow
80
- scenarios = [
81
- {domain: TEST_DOMAIN, body: 'Whois body'},
82
- {domain: 'integration-test.ee', body: 'Integration test'}
83
- ]
84
-
85
- scenarios.each do |scenario|
86
- mock_record = mock_whois_record(body: scenario[:body])
87
- stub_connection_and_ip
88
89
- receive_data(scenario[:domain])
90
91
- assert_equal 1, @sent_data.length
92
- assert @connection_closed_after_writing
93
- mock_record.verify
94
95
- @sent_data.clear
96
- @connection_closed_after_writing = false
97
- end
98
99
100
def send_data(data)
101
@sent_data << data
102
0 commit comments