1
0
Fork 0
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:
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