diff --git a/test/integration/epp/hello_test.rb b/test/integration/epp/hello_test.rb new file mode 100644 index 000000000..1ccb65ff0 --- /dev/null +++ b/test/integration/epp/hello_test.rb @@ -0,0 +1,17 @@ +require 'test_helper' + +class EppHelloTest < EppTestCase + def test_anonymous_user_is_able_to_access + request_xml = <<-XML + + + + + XML + + get '/epp/session/hello', { frame: request_xml }, 'HTTP_COOKIE' => 'session=non-existent' + + response_xml = Nokogiri::XML(response.body) + assert_equal 'EPP server (EIS)', response_xml.at_css('greeting > svID').text + end +end