From a42dba642e86f3f27d8b2e67b632d2e377b6074c Mon Sep 17 00:00:00 2001 From: "Hongli Lai (Phusion)" Date: Mon, 23 Mar 2009 14:51:50 +0100 Subject: Remove the test_version_has_unique_created_at unit test, which is no longer needed because of commit d7c0da03. --- test/versioned_test.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'test') diff --git a/test/versioned_test.rb b/test/versioned_test.rb index 178b5ca28..c0c8e514d 100644 --- a/test/versioned_test.rb +++ b/test/versioned_test.rb @@ -14,13 +14,6 @@ class VersionedTest < Test::Unit::TestCase assert_instance_of Page.versioned_class, p.versions.first end - def test_version_has_unique_created_at - p = pages(:welcome) - p.title = 'update me' - p.save! - assert_not_equal p.created_on, p.versions.latest.created_on - end - def test_saves_without_revision p = pages(:welcome) old_versions = p.versions.count -- cgit v1.2.3