it 'request is ignored when the request passed to the proc defined in ignore_request returns true' do
            response = get 'http://www.example.org/foobazbar'
            expect(response.content_type).to eq 'text/html'

            response = get 'http://www.example.org/foobazbar.pdf'