No one uses 1.8.7 or 1.9.2 anymore. Sorry, folks. #66
@ -15,7 +15,7 @@ describe Rack::LiveReload::BodyProcessor do
|
||||
end
|
||||
|
||||
it 'responds false when no head tag' do
|
||||
regex.match("<header></header>").should be_false
|
||||
regex.match("<header></header>").should be_falsey
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -14,7 +14,7 @@ describe Rack::LiveReload::ProcessingSkipAnalyzer do
|
||||
|
||||
describe '#skip_processing?' do
|
||||
it "should skip processing" do
|
||||
subject.skip_processing?.should be_true
|
||||
subject.skip_processing?.should be_truthy
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -7,7 +7,9 @@ describe Rack::LiveReload do
|
||||
|
||||
subject { middleware }
|
||||
|
||||
its(:app) { should == app }
|
||||
it 'should be an app' do
|
||||
middleware.app.should be == app
|
||||
end
|
||||
|
||||
let(:env) { {} }
|
||||
let(:options) { {} }
|
||||
@ -20,7 +22,7 @@ describe Rack::LiveReload do
|
||||
end
|
||||
|
||||
it 'should return the js file' do
|
||||
middleware._call(env).should be_true
|
||||
middleware._call(env).should be_truthy
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user