fix tests

This commit is contained in:
John Bintz 2012-03-04 13:27:31 -05:00
parent 075b92e7f4
commit 3180a3d3dd
1 changed files with 2 additions and 2 deletions

View File

@ -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