Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def test_shoud_not_create_business_day_with_existing_day
- login_as :quentin
- BusinessDay.create(:school => schools(:usf)) # make one for today
- assert_no_difference 'BusinessDay.count' do
- post :create # attempt to make another for today
- end
- end
Add Comment
Please, Sign In to add comment