Skip to content

Commit

Permalink
Remove the test_version_has_unique_created_at unit test, which is no …
Browse files Browse the repository at this point in the history
…longer needed because of commit d7c0da0.
  • Loading branch information
FooBarWidget committed Mar 23, 2009
1 parent d7c0da0 commit a42dba6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/versioned_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ def test_saves_versioned_copy
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
Expand Down

0 comments on commit a42dba6

Please sign in to comment.