diff --git a/spec/rack/livereload/body_processor_spec.rb b/spec/rack/livereload/body_processor_spec.rb index fad68b6..934a60b 100644 --- a/spec/rack/livereload/body_processor_spec.rb +++ b/spec/rack/livereload/body_processor_spec.rb @@ -128,7 +128,7 @@ describe Rack::LiveReload::BodyProcessor do let(:options) { { :live_reload_port => 12345 }} it "sets the variable at the top of the file" do - processed_body.should include 'RACK_LIVERELOAD_PORT = 12345' + processed_body.should include 'data-live-reload-port="12345"' end end @@ -173,7 +173,7 @@ describe Rack::LiveReload::BodyProcessor do let(:options) { { :force_swf => true } } it 'should not add the flash shim' do - processed_body.should include('WEB_SOCKET_FORCE_FLASH') + processed_body.should include('data-force-swf="true"') processed_body.should include('swfobject') processed_body.should include('web_socket') end diff --git a/tmp/rspec_guard_result b/tmp/rspec_guard_result new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tmp/rspec_guard_result @@ -0,0 +1 @@ +