Module: RSpec::Core
- Defined in:
- lib/rspec/core/version.rb,
lib/rspec/core.rb,
lib/rspec/core/let.rb,
lib/rspec/core/hooks.rb,
lib/rspec/core/world.rb,
lib/rspec/core/errors.rb,
lib/rspec/core/runner.rb,
lib/rspec/core/example.rb,
lib/rspec/core/pending.rb,
lib/rspec/core/subject.rb,
lib/rspec/core/metadata.rb,
lib/rspec/core/reporter.rb,
lib/rspec/core/rake_task.rb,
lib/rspec/core/command_line.rb,
lib/rspec/core/ruby_project.rb,
lib/rspec/core/configuration.rb,
lib/rspec/core/example_group.rb,
lib/rspec/core/option_parser.rb,
lib/rspec/core/mocking/with_rr.rb,
lib/rspec/core/drb_command_line.rb,
lib/rspec/core/extensions/object.rb,
lib/rspec/core/formatters/helpers.rb,
lib/rspec/core/mocking/with_mocha.rb,
lib/rspec/core/mocking/with_rspec.rb,
lib/rspec/core/shared_example_group.rb,
lib/rspec/core/configuration_options.rb,
lib/rspec/core/mocking/with_flexmock.rb,
lib/rspec/core/backward_compatibility.rb,
lib/rspec/core/formatters/base_formatter.rb,
lib/rspec/core/formatters/html_formatter.rb,
lib/rspec/core/command_line_configuration.rb,
lib/rspec/core/formatters/snippet_extractor.rb,
lib/rspec/core/formatters/progress_formatter.rb,
lib/rspec/core/formatters/base_text_formatter.rb,
lib/rspec/core/formatters/text_mate_formatter.rb,
lib/rspec/core/mocking/with_absolutely_nothing.rb,
lib/rspec/core/extensions/module_eval_with_args.rb,
lib/rspec/core/extensions/instance_eval_with_args.rb,
lib/rspec/core/formatters/documentation_formatter.rb
Overview
Defined Under Namespace
Modules: ConstMissing, Extensions, Formatters, Hooks, Let, MockFrameworkAdapter, ObjectExtensions, Pending, RubyProject, SharedExampleGroup, Subject, Version
Classes: CommandLine, CommandLineConfiguration, Configuration, ConfigurationOptions, DRbCommandLine, Example, ExampleGroup, Metadata, Parser, PendingExampleFixedError, RakeTask, Reporter, Runner, World
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
33
34
35
36
|
# File 'lib/rspec/core.rb', line 33
def self.configuration
RSpec.deprecate('RSpec::Core.configuration', 'RSpec.configuration', '2.0.0')
RSpec.configuration
end
|
38
39
40
41
|
# File 'lib/rspec/core.rb', line 38
def self.configure
RSpec.deprecate('RSpec::Core.configure', 'RSpec.configure', '2.0.0')
yield RSpec.configuration if block_given?
end
|
.install_directory ⇒ Object
29
30
31
|
# File 'lib/rspec/core.rb', line 29
def self.install_directory
@install_directory ||= File.expand_path(File.dirname(__FILE__))
end
|
43
44
45
46
|
# File 'lib/rspec/core.rb', line 43
def self.world
RSpec.deprecate('RSpec::Core.world', 'RSpec.world', '2.0.0')
RSpec.world
end
|