From cb2cd8211b64348b06d085cdd9974af76ae5da8e Mon Sep 17 00:00:00 2001 From: Neil Matatall Date: Mon, 17 Jun 2013 15:18:51 -0700 Subject: [PATCH] fix tests --- spec/rack/livereload/body_processor_spec.rb | 4 ++-- tmp/rspec_guard_result | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 tmp/rspec_guard_result 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 @@ +