mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Documentation updates
[ci skip]
This commit is contained in:
parent
16f87a8fa0
commit
542f715d5a
7 changed files with 8 additions and 0 deletions
|
@ -149,6 +149,8 @@ module Shoulda
|
|||
SetFlashMatcher.new
|
||||
end
|
||||
|
||||
# @deprecated Use {#set_flash} instead.
|
||||
# @return [SetFlashMatcher]
|
||||
def set_the_flash
|
||||
Shoulda::Matchers.warn_about_deprecated_method(
|
||||
:set_the_flash,
|
||||
|
|
|
@ -263,6 +263,7 @@ module Shoulda
|
|||
"#{model_class.name} to #{description}"
|
||||
end
|
||||
|
||||
# @private
|
||||
class DecoratedColumn < SimpleDelegator
|
||||
def initialize(model, column)
|
||||
@model = model
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
module Shoulda
|
||||
module Matchers
|
||||
module ActiveRecord
|
||||
# @private
|
||||
module Uniqueness
|
||||
# @private
|
||||
class Model
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
module Shoulda
|
||||
module Matchers
|
||||
module ActiveRecord
|
||||
# @private
|
||||
module Uniqueness
|
||||
# @private
|
||||
class Namespace
|
||||
|
|
|
@ -3,6 +3,7 @@ require 'thread'
|
|||
module Shoulda
|
||||
module Matchers
|
||||
module ActiveRecord
|
||||
# @private
|
||||
module Uniqueness
|
||||
# @private
|
||||
class TestModelCreator
|
||||
|
|
|
@ -3,6 +3,7 @@ require 'thread'
|
|||
module Shoulda
|
||||
module Matchers
|
||||
module ActiveRecord
|
||||
# @private
|
||||
module Uniqueness
|
||||
# @private
|
||||
module TestModels
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
module Shoulda
|
||||
module Matchers
|
||||
# @private
|
||||
class MatcherContext
|
||||
def initialize(context)
|
||||
@context = context
|
||||
|
|
Loading…
Reference in a new issue