Skip to content

Commit 3249098

Browse files
committed
removed duplicate
1 parent c8ac129 commit 3249098

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

test/integration/whois_server_integration_test.rb

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -76,27 +76,6 @@ def test_receive_data_with_no_ip
7676
assert_equal 0, @sent_data.length
7777
end
7878

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-
end
99-
10079
def send_data(data)
10180
@sent_data << data
10281
end

0 commit comments

Comments
 (0)