Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
shoulda spec examples
it { is_expected.to have_many(:appointments).through(:outlets) }
it { is_expected.to validate_presence_of(:outlet_id) }
it { is_expected.to belong_to(:outlet) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment