Sha256: ddaadc97b8b071106e5828811a0c2aadf64cc79d465b12e8967a9bb728241e33
Contents?: true
Size: 578 Bytes
Versions: 5
Compression:
Stored size: 578 Bytes
Contents
require File.dirname( __FILE__ ) + '/spec_helper.rb' describe Sandbox do before( :each ) do Sandbox.instance_eval { instance_variables.each { |v| remove_instance_variable v } } end it "should have verbosity level" do Sandbox.verbosity.should == 0 end it "should increase verbosity level" do Sandbox.verbosity.should == 0 Sandbox.increase_verbosity Sandbox.verbosity.should == 1 end it "should decrease verbosity level" do Sandbox.verbosity.should == 0 Sandbox.decrease_verbosity Sandbox.verbosity.should == -1 end end
Version data entries
5 entries across 5 versions & 1 rubygems