提交 802555a5 编写于 作者: S Sebastian Martinez

#drop_table accepts no options now.

上级 18b153d1
...@@ -24,7 +24,7 @@ def test_create_table_with_custom_sequence_name ...@@ -24,7 +24,7 @@ def test_create_table_with_custom_sequence_name
assert !sequence_exists?('foo_seq') assert !sequence_exists?('foo_seq')
assert sequence_exists?('foo_custom_seq') assert sequence_exists?('foo_custom_seq')
assert_nothing_raised { @connection.drop_table(:foo, :sequence => 'foo_custom_seq') } assert_nothing_raised { @connection.drop_table(:foo) }
assert !sequence_exists?('foo_custom_seq') assert !sequence_exists?('foo_custom_seq')
ensure ensure
FireRuby::Generator.new('foo_custom_seq', @fireruby_connection).drop rescue nil FireRuby::Generator.new('foo_custom_seq', @fireruby_connection).drop rescue nil
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册