class RSpec::Rails::Mocks::Association
@private
model’s perspective.
by default. This class represents an association from the mocked
Starting with Rails 4.1, ActiveRecord associations are inversible
def initialize(association_name)
def initialize(association_name) @association_name = association_name end