Sha256: ce7caafc79e58252a3f1a75833d3265816dd7dc3dfe086c290ccffefcc23ab78

Contents?: true

Size: 564 Bytes

Versions: 14

Compression:

Stored size: 564 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

14 entries across 14 versions & 3 rubygems

Version Path
horseman-0.0.4 vendor/ruby/1.9.1/gems/rspec-core-2.7.1/spec/rspec/core_spec.rb
horseman-0.0.3 vendor/ruby/1.9.1/gems/rspec-core-2.7.1/spec/rspec/core_spec.rb
horseman-0.0.2 vendor/ruby/1.9.1/gems/rspec-core-2.7.1/spec/rspec/core_spec.rb
nutshell-crm-0.0.6.alpha vendor/bundle/gems/rspec-core-2.7.1/spec/rspec/core_spec.rb
rspec-core-2.8.0.rc2 spec/rspec/core_spec.rb
nutshell-crm-0.0.5 vendor/bundle/gems/rspec-core-2.7.1/spec/rspec/core_spec.rb
nutshell-crm-0.0.4 vendor/bundle/gems/rspec-core-2.7.1/spec/rspec/core_spec.rb
nutshell-crm-0.0.3 vendor/bundle/gems/rspec-core-2.7.1/spec/rspec/core_spec.rb
nutshell-crm-0.0.2 vendor/bundle/gems/rspec-core-2.7.1/spec/rspec/core_spec.rb
nutshell-crm-0.0.1 vendor/bundle/gems/rspec-core-2.7.1/spec/rspec/core_spec.rb
rspec-core-2.8.0.rc1 spec/rspec/core_spec.rb
rspec-core-2.7.1 spec/rspec/core_spec.rb
rspec-core-2.7.0 spec/rspec/core_spec.rb
rspec-core-2.7.0.rc1 spec/rspec/core_spec.rb