Skip to content

Commit

Permalink
Migrate Relation contracts to deferred examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepingkingstudios committed Nov 13, 2024
1 parent fa99485 commit cb2e295
Show file tree
Hide file tree
Showing 15 changed files with 3,751 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

module Cuprum::Collections::RSpec::Contracts
# Contracts for asserting on Association objects.
#
# @deprecated 0.5.0 Association contracts are deprecated. Use
# Deferred::AssociationExamples instead.
module AssociationContracts
# Contract validating the behavior of an Association.
module ShouldBeAnAssociationContract
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

module Cuprum::Collections::RSpec::Contracts
# Contracts for asserting on Collection objects.
#
# @deprecated 0.5.0 Collection contracts are deprecated. Use
# Deferred::CollectionExamples instead.
module CollectionContracts
include Cuprum::Collections::RSpec::Contracts::RelationContracts

Expand Down
3 changes: 3 additions & 0 deletions lib/cuprum/collections/rspec/contracts/relation_contracts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

module Cuprum::Collections::RSpec::Contracts
# Contracts for asserting on Relation objects.
#
# @deprecated 0.5.0 Relation contracts are deprecated. Use
# Deferred::RelationExamples instead.
module RelationContracts
# Contract asserting that the method validates the required parameters.
module ShouldValidateTheParametersContract
Expand Down
Loading

0 comments on commit cb2e295

Please sign in to comment.