parent
16f87a8fa0
commit
542f715d5a
|
@ -149,6 +149,8 @@ module Shoulda
|
||||||
SetFlashMatcher.new
|
SetFlashMatcher.new
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# @deprecated Use {#set_flash} instead.
|
||||||
|
# @return [SetFlashMatcher]
|
||||||
def set_the_flash
|
def set_the_flash
|
||||||
Shoulda::Matchers.warn_about_deprecated_method(
|
Shoulda::Matchers.warn_about_deprecated_method(
|
||||||
:set_the_flash,
|
:set_the_flash,
|
||||||
|
|
|
@ -263,6 +263,7 @@ module Shoulda
|
||||||
"#{model_class.name} to #{description}"
|
"#{model_class.name} to #{description}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# @private
|
||||||
class DecoratedColumn < SimpleDelegator
|
class DecoratedColumn < SimpleDelegator
|
||||||
def initialize(model, column)
|
def initialize(model, column)
|
||||||
@model = model
|
@model = model
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
module Shoulda
|
module Shoulda
|
||||||
module Matchers
|
module Matchers
|
||||||
module ActiveRecord
|
module ActiveRecord
|
||||||
|
# @private
|
||||||
module Uniqueness
|
module Uniqueness
|
||||||
# @private
|
# @private
|
||||||
class Model
|
class Model
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
module Shoulda
|
module Shoulda
|
||||||
module Matchers
|
module Matchers
|
||||||
module ActiveRecord
|
module ActiveRecord
|
||||||
|
# @private
|
||||||
module Uniqueness
|
module Uniqueness
|
||||||
# @private
|
# @private
|
||||||
class Namespace
|
class Namespace
|
||||||
|
|
|
@ -3,6 +3,7 @@ require 'thread'
|
||||||
module Shoulda
|
module Shoulda
|
||||||
module Matchers
|
module Matchers
|
||||||
module ActiveRecord
|
module ActiveRecord
|
||||||
|
# @private
|
||||||
module Uniqueness
|
module Uniqueness
|
||||||
# @private
|
# @private
|
||||||
class TestModelCreator
|
class TestModelCreator
|
||||||
|
|
|
@ -3,6 +3,7 @@ require 'thread'
|
||||||
module Shoulda
|
module Shoulda
|
||||||
module Matchers
|
module Matchers
|
||||||
module ActiveRecord
|
module ActiveRecord
|
||||||
|
# @private
|
||||||
module Uniqueness
|
module Uniqueness
|
||||||
# @private
|
# @private
|
||||||
module TestModels
|
module TestModels
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
module Shoulda
|
module Shoulda
|
||||||
module Matchers
|
module Matchers
|
||||||
|
# @private
|
||||||
class MatcherContext
|
class MatcherContext
|
||||||
def initialize(context)
|
def initialize(context)
|
||||||
@context = context
|
@context = context
|
||||||
|
|
Loading…
Reference in New Issue