minor: tests use proper naming convention. test fix 1.8.6

This commit is contained in:
Kyle Banker 2010-02-19 18:00:03 -05:00
parent 5dd2636634
commit 0368e79c74
22 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ namespace :test do
end end
Rake::TestTask.new(:functional) do |t| Rake::TestTask.new(:functional) do |t|
t.test_files = FileList['test/test*.rb'] t.test_files = FileList['test/*_test.rb']
t.verbose = true t.verbose = true
end end

View File

@ -77,7 +77,7 @@ class OrderedHashTest < Test::Unit::TestCase
end end
def test_to_a_order_preserved def test_to_a_order_preserved
assert_equal @ordered_keys, @oh.to_a.map(&:first) assert_equal @ordered_keys, @oh.to_a.map {|m| m.first}
end end
def test_order_preserved_after_replace def test_order_preserved_after_replace