Changeset 8468
- Timestamp:
- 12/21/07 12:26:27 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/test/template/compiled_templates_test.rb
r8374 r8468 65 65 def test_mtime 66 66 t1 = Time.now 67 67 68 test_compile_source_single_method 68 assert (t1..Time.now).include?(ct.mtime('doubling method', [:a])) 69 mtime = ct.mtime('doubling method', [:a]) 70 71 assert mtime < Time.now 72 assert mtime > t1 69 73 end 70 74