fix tests
This commit is contained in:
parent
075b92e7f4
commit
3180a3d3dd
@ -74,7 +74,7 @@ describe Rack::LiveReload do
|
|||||||
let(:host) { 'host' }
|
let(:host) { 'host' }
|
||||||
let(:env) { { 'HTTP_HOST' => host } }
|
let(:env) { { 'HTTP_HOST' => host } }
|
||||||
|
|
||||||
let(:ret) { middleware.call(env) }
|
let(:ret) { middleware._call(env) }
|
||||||
let(:body) { ret.last.join }
|
let(:body) { ret.last.join }
|
||||||
let(:length) { ret[1]['Content-Length'] }
|
let(:length) { ret[1]['Content-Length'] }
|
||||||
|
|
||||||
@ -174,7 +174,7 @@ describe Rack::LiveReload do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it 'should return the js file' do
|
it 'should return the js file' do
|
||||||
middleware.call(env).should be_true
|
middleware._call(env).should be_true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user