Sha256: 796e47050e455e2957eec055102237c8e31ee2a1014d6f8a481cb305d4f5aa90
Contents?: true
Size: 458 Bytes
Versions: 2
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' describe Datagrid::Scaffold do subject { Datagrid::Scaffold.new([""]) } describe '.paginate_code' do it 'should fall through options successfully' do expect(subject.paginate_code).to eql('paginate_somehow') end end describe '.pagination_helper_code' do it 'should fall through options successfully' do expect(subject.pagination_helper_code).to eql('some_pagination_helper(@assets)') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datagrid-1.2.2 | spec/datagrid/scaffold_spec.rb |
datagrid-1.2.1 | spec/datagrid/scaffold_spec.rb |