Sha256: 01794e78c82b4c9081b77fd5e662a315c8f243293a24dfaa001bed23edcd3e8f

Contents?: true

Size: 558 Bytes

Versions: 128

Compression:

Stored size: 558 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 eq(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

128 entries across 75 versions & 9 rubygems

Version Path
classicCMS-0.2.0 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classicCMS-0.1.2 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/rspec-core-2.8.0/spec/rspec/core_spec.rb
rspec-core-2.9.0 spec/rspec/core_spec.rb
rspec-core-2.9.0.rc2 spec/rspec/core_spec.rb
horseman-0.0.4 vendor/ruby/1.9.1/gems/rspec-core-2.8.0/spec/rspec/core_spec.rb
horseman-0.0.3 vendor/ruby/1.9.1/gems/rspec-core-2.8.0/spec/rspec/core_spec.rb
rspec-core-2.8.0 spec/rspec/core_spec.rb