aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongli Lai (Phusion) <hongli@phusion.nl>2009-03-23 14:51:50 +0100
committerHongli Lai (Phusion) <hongli@phusion.nl>2009-03-23 14:51:50 +0100
commita42dba642e86f3f27d8b2e67b632d2e377b6074c (patch)
tree7d5a8f745435f9c44eae7c4af78a4bd0e45a14d8
parentd7c0da03e62d0fbc478678f8f0f5ddd3511c9026 (diff)
Remove the test_version_has_unique_created_at unit test, which is no longer needed because of commit d7c0da03.
-rw-r--r--test/versioned_test.rb7
1 files changed, 0 insertions, 7 deletions
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