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.7.5 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.7.5 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.7.4 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.7.4 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.7.3 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.7.3 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.7.2 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.7.2 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.7.1 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.7.1 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.7.0 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.7.0 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.1/spec/rspec/core_spec.rb
classiccms-0.6.9 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.6.9 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.6.8 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.6.8 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.6.7 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.6.7 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.6.6 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb