From 20f03cbe7c1d2e333e03f61f9a3b9e0fd96f68b8 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 27 Mar 2013 17:50:58 -0400 Subject: [PATCH] ...and fix the test for that --- spec/rack/livereload_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/rack/livereload_spec.rb b/spec/rack/livereload_spec.rb index 928645f..17c46a4 100644 --- a/spec/rack/livereload_spec.rb +++ b/spec/rack/livereload_spec.rb @@ -157,7 +157,7 @@ describe Rack::LiveReload do it 'should add the livereload js script tag before all other script tags' do body_dom.at_css("head")[:attribute].should == 'attribute' - body_dom.at_css("script:eq(4)")[:src].should include(described_class::LIVERELOAD_JS_PATH) + body_dom.at_css("script:eq(5)")[:src].should include(described_class::LIVERELOAD_JS_PATH) body_dom.at_css("script:last-child")[:insert].should == "before" end