spec/lib/crawler/http_client_spec.rb [341:355]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          end
        end

        context 'when seeing an expired SSL certificate' do
          let(:ssl_fixture) { 'expired' }

          it 'should fail' do
            with_example_site do
              expect { get('https://example.org:12345') }.to raise_error(
                Crawler::HttpUtils::SslCertificateExpiredError,
                /SSL certificate expired/
              )
            end
          end
        end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/lib/crawler/http_client_spec.rb [363:377]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            end
          end

          context 'when seeing an expired SSL certificate' do
            let(:ssl_fixture) { 'expired' }

            it 'should fail' do
              with_example_site do
                expect { get('https://example.org:12345') }.to raise_error(
                  Crawler::HttpUtils::SslCertificateExpiredError,
                  /SSL certificate expired/
                )
              end
            end
          end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



