enough with the malloc limit, not needed

This commit is contained in:
Sam
2016-05-25 21:08:48 +10:00
parent 99b95f1fc9
commit a19e43fd3b
6 changed files with 3 additions and 24 deletions

View File

@ -70,20 +70,6 @@ describe AdminDashboardData do
end
end
describe 'gc_checks' do
subject { described_class.new.gc_checks }
it 'returns nil when gc params are set' do
ENV.stubs(:[]).with('RUBY_GC_MALLOC_LIMIT').returns(90000000)
expect(subject).to be_nil
end
it 'returns a string when gc params are not set' do
ENV.stubs(:[]).with('RUBY_GC_MALLOC_LIMIT').returns(nil)
expect(subject).to_not be_nil
end
end
describe 'sidekiq_check' do
subject { described_class.new.sidekiq_check }