Sha256: 6d712f87cb55179f5af1cfa24e0c4933e79c4f2fd753fa0a7b75f14ffabe1bad
Contents?: true
Size: 563 Bytes
Versions: 36
Compression:
Stored size: 563 Bytes
Contents
require 'spec_helper' describe RSpec::Core do describe "#configuration" do it "returns the same object every time" do RSpec.configuration.should equal(RSpec.configuration) end end describe "#configure" do it "yields the current configuration" do RSpec.configure do |config| config.should == RSpec::configuration end end end describe "#world" do it "returns the RSpec::Core::World instance the current run is using" do RSpec.world.should be_instance_of(RSpec::Core::World) end end end
Version data entries
36 entries across 36 versions & 4 rubygems