Documentation updates

[ci skip]
This commit is contained in:
Elliot Winkler 2014-12-25 01:13:30 -05:00
parent 16f87a8fa0
commit 542f715d5a
7 changed files with 8 additions and 0 deletions

View File

@ -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,

View File

@ -263,6 +263,7 @@ module Shoulda
"#{model_class.name} to #{description}"
end
# @private
class DecoratedColumn < SimpleDelegator
def initialize(model, column)
@model = model

View File

@ -1,6 +1,7 @@
module Shoulda
module Matchers
module ActiveRecord
# @private
module Uniqueness
# @private
class Model

View File

@ -1,6 +1,7 @@
module Shoulda
module Matchers
module ActiveRecord
# @private
module Uniqueness
# @private
class Namespace

View File

@ -3,6 +3,7 @@ require 'thread'
module Shoulda
module Matchers
module ActiveRecord
# @private
module Uniqueness
# @private
class TestModelCreator

View File

@ -3,6 +3,7 @@ require 'thread'
module Shoulda
module Matchers
module ActiveRecord
# @private
module Uniqueness
# @private
module TestModels

View File

@ -1,5 +1,6 @@
module Shoulda
module Matchers
# @private
class MatcherContext
def initialize(context)
@context = context