spec/bullet/rack_spec.rb in bullet-7.0.1 vs spec/bullet/rack_spec.rb in bullet-7.0.2

- old
+ new

@@ -29,15 +29,9 @@ it 'should be false if Content-Type is javascript' do headers = { 'Content-Type' => 'text/javascript' } response = double(body: '<html><head></head><body></body></html>') expect(middleware).not_to be_html_request(headers, response) end - - it "should be false if response body doesn't contain html tag" do - headers = { 'Content-Type' => 'text/html' } - response = double(body: '<div>Partial</div>') - expect(middleware).not_to be_html_request(headers, response) - end end context 'empty?' do it 'should be false if response is a string and not empty' do response = double(body: '<html><head></head><body></body></html>')