Skip to content

Commit

Permalink
Rename duplicate tests. There is now one failing test that was failin…
Browse files Browse the repository at this point in the history
…g before the rename but was never getting run.
  • Loading branch information
mikegehard committed May 7, 2011
1 parent 820b6f3 commit 0bc91a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion activesupport/test/class_cache_test.rb
Expand Up @@ -58,7 +58,7 @@ def test_new
assert @cache.key?(ClassCacheTest.name) assert @cache.key?(ClassCacheTest.name)
end end


def test_new_rejects_strings def test_new_rejects_strings_when_called_on_a_new_string
assert_deprecated do assert_deprecated do
@cache.new ClassCacheTest.name @cache.new ClassCacheTest.name
end end
Expand Down
2 changes: 1 addition & 1 deletion activesupport/test/xml_mini_test.rb
Expand Up @@ -48,7 +48,7 @@ def test_rename_key_does_not_dasherize_multiple_leading_underscores
assert_equal "__id", ActiveSupport::XmlMini.rename_key("__id") assert_equal "__id", ActiveSupport::XmlMini.rename_key("__id")
end end


def test_rename_key_does_not_dasherize_multiple_leading_underscores def test_rename_key_does_not_dasherize_multiple_trailing_underscores
assert_equal "id__", ActiveSupport::XmlMini.rename_key("id__") assert_equal "id__", ActiveSupport::XmlMini.rename_key("id__")
end end
end end
Expand Down

0 comments on commit 0bc91a4

Please sign in to comment.