提交 2d211c45 编写于 作者: A Andrew White

Reset the primary key for other tests

上级 697e346c
......@@ -833,6 +833,8 @@ def test_find_one_message_with_custom_primary_key
rescue ActiveRecord::RecordNotFound => e
assert_equal 'Couldn\'t find Toy with name=Hello World!', e.message
end
ensure
Toy.reset_primary_key
end
def test_finder_with_offset_string
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册