mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Specs: Check for response to :truncate_table instead of string
This commit is contained in:
parent
f7e834d5e9
commit
a309df22c8
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module ActiveRecord
|
|||
[MysqlAdapter, Mysql2Adapter, SQLite3Adapter, JdbcAdapter, PostgreSQLAdapter, IBM_DBAdapter].each do |adapter|
|
||||
describe adapter, "#truncate_table" do
|
||||
it "responds" do
|
||||
adapter.instance_methods.should include('truncate_table')
|
||||
adapter.instance_methods.should include(:truncate_table)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue