aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/comment_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-07-28 17:26:41 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-07-28 17:26:41 +0900
commit5bef4c64f0f77cce4bfe6a201454e39a6fc993be (patch)
tree94a914b9729fdb2699117be692fbd791587ccc2a /activerecord/test/cases/comment_test.rb
parent17169cfb7167e357d50290eace083ce3b38bfb7f (diff)
downloadrails-5bef4c64f0f77cce4bfe6a201454e39a6fc993be.tar.gz
rails-5bef4c64f0f77cce4bfe6a201454e39a6fc993be.tar.bz2
rails-5bef4c64f0f77cce4bfe6a201454e39a6fc993be.zip
Remove redundant `unless current_adapter?(:OracleAdapter)`
Diffstat (limited to 'activerecord/test/cases/comment_test.rb')
-rw-r--r--activerecord/test/cases/comment_test.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/test/cases/comment_test.rb b/activerecord/test/cases/comment_test.rb
index 9ab6607668..f2ec5d6518 100644
--- a/activerecord/test/cases/comment_test.rb
+++ b/activerecord/test/cases/comment_test.rb
@@ -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