[style]Fix style in user_datatable_spec
This commit is contained in:
parent
ffa088ee07
commit
ea7f1a7edb
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe UserDatatable do
|
||||
subject! do
|
||||
subject!(:user_datatable) do
|
||||
described_class.new(view)
|
||||
end
|
||||
|
||||
|
|
@ -92,7 +92,7 @@ describe UserDatatable do
|
|||
|
||||
skip 'outputs' do
|
||||
let(:user) { User.first }
|
||||
let(:output) { subject.as_json }
|
||||
let(:output) { user_datatable.as_json }
|
||||
|
||||
it 'recordsTotal' do
|
||||
expect(output[:recordsTotal]).to eq(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue