diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-04-11 11:30:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-11 11:30:39 -0400 |
commit | e426bc22330080965ed6ca28f82deda9e4415feb (patch) | |
tree | 87f723bb73faf283814365c9e5d88e07e946e89d /activerecord/test | |
parent | c134a17b3d740ab1578cdd8da8aba3909910feb2 (diff) | |
parent | 66cc3c7aa7b3aa2593cf10df728ad5d8ce71adcd (diff) | |
download | rails-e426bc22330080965ed6ca28f82deda9e4415feb.tar.gz rails-e426bc22330080965ed6ca28f82deda9e4415feb.tar.bz2 rails-e426bc22330080965ed6ca28f82deda9e4415feb.zip |
Merge pull request #28721 from koic/oracle_does_not_support_limit_clause
Fix an AR test of relations_test when using Oracle
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/relations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/relations_test.rb b/activerecord/test/cases/relations_test.rb index 856469c710..fcf68b0f2a 100644 --- a/activerecord/test/cases/relations_test.rb +++ b/activerecord/test/cases/relations_test.rb @@ -1902,7 +1902,7 @@ class RelationTest < ActiveRecord::TestCase end test "relations don't load all records in #inspect" do - assert_sql(/LIMIT/) do + assert_sql(/LIMIT|ROWNUM <=|FETCH FIRST/) do Post.all.inspect end end |