mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Introduce custom assertion
This commit is contained in:
parent
5939da366e
commit
348e6e5d7a
54 changed files with 378 additions and 389 deletions
|
@ -1,6 +1,6 @@
|
|||
require 'test_helper'
|
||||
|
||||
class EppDomainRenewTest < ApplicationIntegrationTest
|
||||
class EppDomainRenewTest < EppTestCase
|
||||
self.use_transactional_fixtures = false
|
||||
|
||||
setup do
|
||||
|
@ -26,7 +26,6 @@ class EppDomainRenewTest < ApplicationIntegrationTest
|
|||
assert_no_changes -> { domains(:invalid).valid_to } do
|
||||
post '/epp/command/renew', { frame: request_xml }, 'HTTP_COOKIE' => 'session=api_bestnames'
|
||||
end
|
||||
assert_equal '2304', Nokogiri::XML(response.body).at_css('result')[:code],
|
||||
Nokogiri::XML(response.body).css('result').text
|
||||
assert_epp_response :object_status_prohibits_operation
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue