Skip to content

Commit b684390

Browse files
author
Nicolas Rodriguez
committed
Fix test with Oracle on Rails 4.2.9
1 parent 14e4bbe commit b684390

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.8]
21+
if Rails.version.in? %w[4.0.13 4.1.15 4.2.9]
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.8]
39+
if Rails.version.in? %w[4.0.13 4.1.15 4.2.9]
4040
expect(datatable.paginate_records(records).to_sql).to include(
4141
'rownum <= 50'
4242
)

0 commit comments

Comments
 (0)