Merge pull request #50 from CactusPuppy/pend-instead-of-skip-datatables

Properly pend outputs context
This commit is contained in:
CactusPuppy 2021-04-07 14:16:02 -07:00 committed by GitHub
commit c6c2c4e264
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,10 +90,12 @@ describe UserDatatable do
it { is_expected.to respond_to(:view_columns) }
end
skip 'outputs' do
context 'outputs' do
let(:user) { User.first }
let(:output) { user_datatable.as_json }
before { skip('Investigate CI failures') }
it 'recordsTotal' do
expect(output[:recordsTotal]).to eq(1)
end