Sha256: 58ba82a896ab09b58f44866fc3a69b99199f582cba2c81059e75af6175f73b8b
Contents?: true
Size: 385 Bytes
Versions: 8
Compression:
Stored size: 385 Bytes
Contents
require "test_helper" class BoopsThatBoopBoopsTest < SerializedNonTransactionalTestCase def test_each_of_the_boops_has_a_boop assert_equal 15, Boop.count Boop.find_each do |boop| assert_kind_of Boop, boop.other_boop end end def test_it_wont_let_you_assign_a_nonsensical_boop assert_raise { Boop.last.update!(other_boop_id: 2138012) } end end
Version data entries
8 entries across 8 versions & 1 rubygems