mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove redundant unless current_adapter?(:OracleAdapter)
This commit is contained in:
parent
17169cfb71
commit
5bef4c64f0
1 changed files with 0 additions and 2 deletions
|
@ -119,8 +119,6 @@ if ActiveRecord::Base.connection.supports_comments?
|
|||
assert_match %r[t\.integer\s+"rating",\s+precision: 38,\s+comment: "I am running out of imagination"], output
|
||||
else
|
||||
assert_match %r[t\.integer\s+"rating",\s+comment: "I am running out of imagination"], output
|
||||
end
|
||||
unless current_adapter?(:OracleAdapter)
|
||||
assert_match %r[t\.index\s+.+\s+comment: "\\\"Very important\\\" index that powers all the performance.\\nAnd it's fun!"], output
|
||||
assert_match %r[t\.index\s+.+\s+name: "idx_obvious",\s+comment: "We need to see obvious comments"], output
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue