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

Version Path
messagebus_ruby_api-0.4.7 spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core_spec.rb
messagebus_ruby_api-0.4.4 spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core_spec.rb
rspec-core-2.5.2 spec/rspec/core_spec.rb
rspec-core-2.5.1 spec/rspec/core_spec.rb
rspec-core-2.5.0 spec/rspec/core_spec.rb
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core_spec.rb
rspec-core-2.4.0 spec/rspec/core_spec.rb
vim-jar-0.1.2 bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core_spec.rb
vim-jar-0.1.1 bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core_spec.rb
vim-jar-0.1.0 bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core_spec.rb
rspec-core-2.3.1 spec/rspec/core_spec.rb
rspec-core-2.3.0 spec/rspec/core_spec.rb
vim-jar-0.0.3 bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core_spec.rb
rspec-core-2.2.1 spec/rspec/core_spec.rb
vim-jar-0.0.2 bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core_spec.rb
vim-jar-0.0.1 bundler/ruby/1.8/gems/rspec-core-2.1.0/spec/rspec/core_spec.rb
rspec-core-2.2.0 spec/rspec/core_spec.rb
rspec-core-2.1.0 spec/rspec/core_spec.rb
rspec-core-2.0.1 spec/rspec/core_spec.rb
gemrage-1.0.0 vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core_spec.rb