diff --git a/lib/rack/livereload/body_processor.rb b/lib/rack/livereload/body_processor.rb index c5fc029..a8fbe87 100644 --- a/lib/rack/livereload/body_processor.rb +++ b/lib/rack/livereload/body_processor.rb @@ -71,7 +71,7 @@ module Rack @new_body.each do |line| if !@livereload_added && line['
' } + + it 'should not add the livereload js' do + processed_body.should include('var html=""') + end + end + context 'not vendored' do before do processor.stubs(:use_vendored?).returns(false)