Sha256: 9fb756802c283a4f74b32ea70241461a886c687656246e7fd91fb4f9cc6c0f7c
Contents?: true
Size: 1.08 KB
Versions: 12
Compression:
Stored size: 1.08 KB
Contents
require 'test_helper' module Vedeu module Logging module Debug describe IPS do let(:described) { Vedeu::Logging::Debug::IPS } let(:instance) { described.new } describe '#initialize' do it { instance.must_be_instance_of(described) } it { instance.instance_variable_get('@old_stdout').wont_equal(nil) } it { instance.instance_variable_get('@samples').must_equal({}) } it { instance.instance_variable_get('@benchmark').must_be_instance_of(Benchmark::IPS::Job) } it { instance.instance_variable_get('@count').must_equal(0) } end describe 'accessors' do it { instance.must_respond_to(:samples) } it { instance.must_respond_to(:samples=) } it { instance.must_respond_to(:benchmark) } it { instance.must_respond_to(:benchmark=) } end describe '#add_item' do # @todo Add more tests. end describe '#execute!' do # @todo Add more tests. end end # IPS end # Debug end # Logging end # Vedeu
Version data entries
12 entries across 12 versions & 1 rubygems