Module: SequelSpec::Matchers::Association

Defined in:
lib/sequel_spec/association.rb,
lib/sequel_spec/association/association_matcher.rb,
lib/sequel_spec/association/have_one_to_one_matcher.rb,
lib/sequel_spec/association/have_many_to_one_matcher.rb,
lib/sequel_spec/association/have_one_to_many_matcher.rb,
lib/sequel_spec/association/have_many_to_many_matcher.rb,
lib/sequel_spec/association/have_one_through_one_matcher.rb,
lib/sequel_spec/association/have_many_through_many_matcher.rb

Defined Under Namespace

Classes: AssociationMatcher, HaveManyThroughManyMatcher, HaveManyToManyMatcher, HaveManyToOneMatcher, HaveOneThroughOneMatcher, HaveOneToManyMatcher, HaveOneToOneMatcher

Instance Method Summary collapse

Instance Method Details

#have_many_through_many(*args) ⇒ Object



10
11
12
# File 'lib/sequel_spec/association/have_many_through_many_matcher.rb', line 10

def have_many_through_many(*args)
  HaveManyThroughManyMatcher.new(*args)
end

#have_many_to_many(*args) ⇒ Object



10
11
12
# File 'lib/sequel_spec/association/have_many_to_many_matcher.rb', line 10

def have_many_to_many(*args)
  HaveManyToManyMatcher.new(*args)
end

#have_many_to_one(*args) ⇒ Object



10
11
12
# File 'lib/sequel_spec/association/have_many_to_one_matcher.rb', line 10

def have_many_to_one(*args)
  HaveManyToOneMatcher.new(*args)
end

#have_one_through_one(*args) ⇒ Object



10
11
12
# File 'lib/sequel_spec/association/have_one_through_one_matcher.rb', line 10

def have_one_through_one(*args)
  HaveOneThroughOneMatcher.new(*args)
end

#have_one_to_many(*args) ⇒ Object



10
11
12
# File 'lib/sequel_spec/association/have_one_to_many_matcher.rb', line 10

def have_one_to_many(*args)
  HaveOneToManyMatcher.new(*args)
end

#have_one_to_one(*args) ⇒ Object



10
11
12
# File 'lib/sequel_spec/association/have_one_to_one_matcher.rb', line 10

def have_one_to_one(*args)
  HaveOneToOneMatcher.new(*args)
end