Sha256: a5f1b206264432852c882be7ba8ac8c905f63949a5ab875384e376030d711c70
Contents?: true
Size: 330 Bytes
Versions: 12
Compression:
Stored size: 330 Bytes
Contents
require 'test_helper' class TablelessTest < MiniTest::Test def test_find_all assert_equal [], FileModel.all end def test_find_by_id assert_raises ActiveRecord::RecordNotFound do FileModel.find('filename') end end def test_find_with_association assert_equal [], Person.new.files end end
Version data entries
12 entries across 12 versions & 1 rubygems