Module: RspecSequel::Matchers
- Defined in:
- lib/rspec_sequel/matchers/have_column.rb,
lib/rspec_sequel/matchers/validate_format.rb,
lib/rspec_sequel/matchers/validate_unique.rb,
lib/rspec_sequel/matchers/have_many_to_one.rb,
lib/rspec_sequel/matchers/have_one_to_many.rb,
lib/rspec_sequel/matchers/validate_integer.rb,
lib/rspec_sequel/matchers/validate_numeric.rb,
lib/rspec_sequel/matchers/have_many_to_many.rb,
lib/rspec_sequel/matchers/validate_includes.rb,
lib/rspec_sequel/matchers/validate_presence.rb,
lib/rspec_sequel/matchers/validate_max_length.rb,
lib/rspec_sequel/matchers/validate_min_length.rb,
lib/rspec_sequel/matchers/validate_not_string.rb,
lib/rspec_sequel/matchers/validate_exact_length.rb,
lib/rspec_sequel/matchers/validate_length_range.rb
Defined Under Namespace
Classes: HaveColumnMatcher, HaveManyToManyMatcher, HaveManyToOneMatcher, HaveOneToManyMatcher, ValidateExactLengthMatcher, ValidateFormatMatcher, ValidateIncludesMatcher, ValidateIntegerMatcher, ValidateLengthRangeMatcher, ValidateMaxLengthMatcher, ValidateMinLengthMatcher, ValidateNotStringMatcher, ValidateNumericMatcher, ValidatePresenceMatcher, ValidateUniqueMatcher
Instance Method Summary
collapse
Instance Method Details
#have_column(*args) ⇒ Object
30
31
32
|
# File 'lib/rspec_sequel/matchers/have_column.rb', line 30
def have_column(*args)
HaveColumnMatcher.new(*args)
end
|
#have_many_to_many(*args) ⇒ Object
17
18
19
|
# File 'lib/rspec_sequel/matchers/have_many_to_many.rb', line 17
def have_many_to_many(*args)
HaveManyToManyMatcher.new(*args)
end
|
#have_many_to_one(*args) ⇒ Object
17
18
19
|
# File 'lib/rspec_sequel/matchers/have_many_to_one.rb', line 17
def have_many_to_one(*args)
HaveManyToOneMatcher.new(*args)
end
|
#have_one_to_many(*args) ⇒ Object
17
18
19
|
# File 'lib/rspec_sequel/matchers/have_one_to_many.rb', line 17
def have_one_to_many(*args)
HaveOneToManyMatcher.new(*args)
end
|
#validate_exact_length(*args) ⇒ Object
20
21
22
|
# File 'lib/rspec_sequel/matchers/validate_exact_length.rb', line 20
def validate_exact_length(*args)
ValidateExactLengthMatcher.new(*args)
end
|
20
21
22
|
# File 'lib/rspec_sequel/matchers/validate_format.rb', line 20
def validate_format(*args)
ValidateFormatMatcher.new(*args)
end
|
#validate_includes(*args) ⇒ Object
20
21
22
|
# File 'lib/rspec_sequel/matchers/validate_includes.rb', line 20
def validate_includes(*args)
ValidateIncludesMatcher.new(*args)
end
|
#validate_integer(*args) ⇒ Object
16
17
18
|
# File 'lib/rspec_sequel/matchers/validate_integer.rb', line 16
def validate_integer(*args)
ValidateIntegerMatcher.new(*args)
end
|
#validate_length_range(*args) ⇒ Object
20
21
22
|
# File 'lib/rspec_sequel/matchers/validate_length_range.rb', line 20
def validate_length_range(*args)
ValidateLengthRangeMatcher.new(*args)
end
|
#validate_max_length(*args) ⇒ Object
20
21
22
|
# File 'lib/rspec_sequel/matchers/validate_max_length.rb', line 20
def validate_max_length(*args)
ValidateMaxLengthMatcher.new(*args)
end
|
#validate_min_length(*args) ⇒ Object
20
21
22
|
# File 'lib/rspec_sequel/matchers/validate_min_length.rb', line 20
def validate_min_length(*args)
ValidateMinLengthMatcher.new(*args)
end
|
#validate_not_string(*args) ⇒ Object
16
17
18
|
# File 'lib/rspec_sequel/matchers/validate_not_string.rb', line 16
def validate_not_string(*args)
ValidateNotStringMatcher.new(*args)
end
|
#validate_numeric(*args) ⇒ Object
16
17
18
|
# File 'lib/rspec_sequel/matchers/validate_numeric.rb', line 16
def validate_numeric(*args)
ValidateNumericMatcher.new(*args)
end
|
#validate_presence(*args) ⇒ Object
16
17
18
|
# File 'lib/rspec_sequel/matchers/validate_presence.rb', line 16
def validate_presence(*args)
ValidatePresenceMatcher.new(*args)
end
|
#validate_unique(*args) ⇒ Object
28
29
30
|
# File 'lib/rspec_sequel/matchers/validate_unique.rb', line 28
def validate_unique(*args)
ValidateUniqueMatcher.new(*args)
end
|