I am trying to test the following scenario:
-> I have a model called Team which it just makes sense when it has been created by a User. Therefore, each Team instance has
class MicroProxy < ActiveRecord::Base has_many :servers end describe MicroProxy, type: :model do it { expect(described_class.reflect_on_association(:servers).macro).to eq(:has_many) } end