Kyle Carlson 10 years ago
parent
commit
1c8c516526
  1. 2
      rspec_model_testing_template.rb

2
rspec_model_testing_template.rb

@ -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) }

Loading…
Cancel
Save