Introduce negative predicate

This commit is contained in:
Artur Beljajev 2018-08-24 14:14:29 +03:00
parent 9d74cd5673
commit a1fb0e2e61
3 changed files with 7 additions and 3 deletions

View file

@ -82,7 +82,7 @@ class EppPollTest < ApplicationIntegrationTest
response_xml = Nokogiri::XML(response.body)
notification.reload
assert_not notification.read?
assert notification.unread?
assert_equal 2303.to_s, response_xml.at_css('result')[:code]
end