minor: tests use proper naming convention. test fix 1.8.6
This commit is contained in:
parent
5dd2636634
commit
0368e79c74
2
Rakefile
2
Rakefile
@ -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
|
||||||
|
|
||||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user