From 3180a3d3ddcf82dc0ff6ec1d23c0df347a1ed00c Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sun, 4 Mar 2012 13:27:31 -0500 Subject: [PATCH] fix tests --- spec/rack/livereload_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/rack/livereload_spec.rb b/spec/rack/livereload_spec.rb index 12fd1b9..af383e0 100644 --- a/spec/rack/livereload_spec.rb +++ b/spec/rack/livereload_spec.rb @@ -74,7 +74,7 @@ describe Rack::LiveReload do let(:host) { 'host' } let(:env) { { 'HTTP_HOST' => host } } - let(:ret) { middleware.call(env) } + let(:ret) { middleware._call(env) } let(:body) { ret.last.join } let(:length) { ret[1]['Content-Length'] } @@ -174,7 +174,7 @@ describe Rack::LiveReload do end it 'should return the js file' do - middleware.call(env).should be_true + middleware._call(env).should be_true end end