Skip to content

Commit 2716663

Browse files
committed
Fix tests with Oracle
1 parent be59d06 commit 2716663

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/ajax-datatables-rails/orm/active_record_paginate_records_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
it 'paginates records properly' do
2020
if AjaxDatatablesRails.config.db_adapter.in? %i[oracle oracleenhanced]
21-
if Rails.version.in? %w[4.0.13 4.1.15 4.2.9]
21+
if Rails.version.in? %w[4.0.13 4.1.16 4.2.10]
2222
expect(datatable.paginate_records(records).to_sql).to include(
2323
'rownum <= 10'
2424
)
@@ -36,7 +36,7 @@
3636
datatable.params[:start] = '26'
3737
datatable.params[:length] = '25'
3838
if AjaxDatatablesRails.config.db_adapter.in? %i[oracle oracleenhanced]
39-
if Rails.version.in? %w[4.0.13 4.1.15 4.2.9]
39+
if Rails.version.in? %w[4.0.13 4.1.16 4.2.10]
4040
expect(datatable.paginate_records(records).to_sql).to include(
4141
'rownum <= 50'
4242
)

0 commit comments

Comments
 (0)