RSpec

Library providing tools for writing and running RSpec tests.

Class: RSpec::SleepingKingStudios::Configuration::Examples

Parent Namespace
RSpec::SleepingKingStudios::Configuration
Defined In
lib/rspec/sleeping_king_studios/configuration.rb

Table Of Contents

Overview

Configuration options for RSpec::SleepingKingStudios::Examples.

Back To Top

Constants

MISSING_FAILURE_MESSAGE_HANDLERS

= %i[ignore pending exception].freeze

Permitted options for :handle_missing_failure_message_with.

STRING_FAILURE_MESSAGE_MATCH_OPTIONS

= %i[exact substring].freeze

Options for matching failure messages to strings.

Back To Top

Instance Methods

#handle_missing_failure_message_with => Symbol

Gets the handler for missing failure messages when using the matcher examples, and sets to :pending if unset.

Returns

#handle_missing_failure_message_with=(value) => Object

Sets the handler for missing failure messages when using the matcher examples.

Parameters

Raises

#match_string_failure_message_as => Symbol

Gets the option for matching failure messages to strings, and sets to :substring if unset.

Returns

#match_string_failure_message_as=(value) => Object

Sets the option for matching failure messages to strings.

Parameters

Raises

Back To Top


Back to Documentation | Versions | 2.8.1 | Reference | RSpec | RSpec::SleepingKingStudios | RSpec::SleepingKingStudios::Configuration