test/test_ping.rb in jekyll-chatgpt-translate-0.0.11 vs test/test_ping.rb in jekyll-chatgpt-translate-0.0.12

- old
+ new

@@ -44,19 +44,19 @@ def test_when_exists stub_request(:any, 'https://www.yegor256.com/about-me.html') site = FakeSite.new({ 'url' => 'https://www.yegor256.com/' }) ping = GptTranslate::Ping.new(site, '/about-me.html') Tempfile.open do |f| - assert(!ping.found?(f)) + assert(ping.found?(f, '')) end end def test_when_not_exists stub_request(:any, 'https://www.yegor256.com/absent.html').to_return(status: 404) site = FakeSite.new({ 'url' => 'https://www.yegor256.com/' }) ping = GptTranslate::Ping.new(site, '/absent.html') Tempfile.open do |f| - assert(!ping.found?(f)) + assert(!ping.found?(f, '')) end end def test_relative_path assert_raises do