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
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
rails-uploader-0.0.4 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
rails-uploader-0.0.4 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.1/spec/rspec/core_spec.rb
classiccms-0.3.8 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.3.8 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.3.7 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.3.7 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.3.6 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.3.6 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.3.5 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.3.5 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.3.4 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.3.4 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.3.3 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.3.3 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.3.2 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.3.2 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.3.1 vendor/bundle/gems/rspec-core-2.10.0/spec/rspec/core_spec.rb
classiccms-0.3.1 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb
classiccms-0.3.0 vendor/bundle/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb