module Cuprum::Collections::RSpec

Namespace for RSpec contracts, which validate collection implementations.

Constants

ASSIGN_ONE_COMMAND_CONTRACT

Contract validating the behavior of an Assign command implementation.

BOOKS_FIXTURES

Sample data for validating collection implementations.

BUILD_ONE_COMMAND_CONTRACT

Contract validating the behavior of a Build command implementation.

COLLECTION_CONTRACT

Contract validating the behavior of a Collection.

DESTROY_ONE_COMMAND_CONTRACT

Contract validating the behavior of a FindOne command implementation.

FIND_MANY_COMMAND_CONTRACT

Contract validating the behavior of a FindMany command implementation.

FIND_MATCHING_COMMAND_CONTRACT

Contract validating the behavior of a FindMatching command implementation.

FIND_ONE_COMMAND_CONTRACT

Contract validating the behavior of a FindOne command implementation.

INSERT_ONE_COMMAND_CONTRACT

Contract validating the behavior of an InsertOne command implementation.

OPERATORS
QUERYING_CONTEXTS

Shared contexts for specs that define querying behavior.

QUERYING_CONTRACT

Contract validating the behavior objects that perform queries.

QUERY_BUILDER_CONTRACT

Contract validating the behavior of a QueryBuilder implementation.

QUERY_CONTRACT

Contract validating the behavior of a Query implementation.

REPOSITORY_CONTRACT

Contract validating the behavior of a Repository.

UPDATE_ONE_COMMAND_CONTRACT

Contract validating the behavior of an UpdateOne command implementation.

VALIDATE_ONE_COMMAND_CONTRACT

Contract validating the behavior of a ValidateOne command implementation.