|
|
@ -84,7 +84,7 @@ describe Model do |
|
|
|
|
|
|
|
# Associations |
|
|
|
it { expect(profile).to belong_to(:user) } |
|
|
|
it { expect(wishlist_item.to belong_to(:wishlist).counter_cache } |
|
|
|
it { expect(wishlist_item).to belong_to(:wishlist).counter_cache } |
|
|
|
it { expect(metric).to belong_to(:analytics_dashboard).touch } |
|
|
|
it { expect(user).to have_one(:profile } |
|
|
|
it { expect(classroom).to have_many(:students) } |
|
|
|