brew/Library/Homebrew/sorbet/rbi/gems/rspec-sorbet@1.9.1.rbi
2022-11-05 17:50:49 +00:00

61 lines
1.9 KiB
Ruby

# typed: true
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-sorbet` gem.
# Please instead update this file by running `bin/tapioca gem rspec-sorbet`.
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
class << self
def clear_examples; end
def configuration; end
def configuration=(_arg0); end
def configure; end
def const_missing(name); end
def context(*args, &example_group_block); end
def current_example; end
def current_example=(example); end
def current_scope; end
def current_scope=(scope); end
def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block); end
def fcontext(*args, &example_group_block); end
def fdescribe(*args, &example_group_block); end
def reset; end
def shared_context(name, *args, &block); end
def shared_examples(name, *args, &block); end
def shared_examples_for(name, *args, &block); end
def world; end
def world=(_arg0); end
def xcontext(*args, &example_group_block); end
def xdescribe(*args, &example_group_block); end
end
end
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
RSpec::SharedContext = RSpec::Core::SharedContext
module RSpec::Sorbet
extend ::RSpec::Sorbet::Doubles
end
module RSpec::Sorbet::Doubles
def allow_doubles!; end
def allow_instance_doubles!; end
private
def call_validation_error_handler(signature, opts); end
def double_message_with_ellipsis?(message); end
def handle_call_validation_error(signature, opts); end
def inline_type_error_handler(error); end
def typed_array_message?(message); end
def unable_to_check_type_for_message?(message); end
end
RSpec::Sorbet::Doubles::INLINE_DOUBLE_REGEX = T.let(T.unsafe(nil), Regexp)
RSpec::Sorbet::Doubles::TYPED_ARRAY_MESSAGE = T.let(T.unsafe(nil), Regexp)
RSpec::Sorbet::Doubles::VERIFYING_DOUBLE_OR_DOUBLE = T.let(T.unsafe(nil), Regexp)