Sha256: 41413d027d8ff51dd850364b58a6482290d0e19a5be915aaf3f9f5c6c6a8ed0c
Contents?: true
Size: 322 Bytes
Versions: 29
Compression:
Stored size: 322 Bytes
Contents
require 'test_helper' class TablelessTest < MiniTest::Test def test_find_all assert FileModel.all.to_a.empty? end def test_find_by_id assert_raises ActiveRecord::RecordNotFound do FileModel.find('filename') end end def test_find_with_association assert Person.new.files.empty? end end
Version data entries
29 entries across 29 versions & 1 rubygems