Sha256: 454fb0a01b61177831d3246d4fe522e593aecbe77c717a1665ea8d67ce3d0353

Contents?: true

Size: 450 Bytes

Versions: 17

Compression:

Stored size: 450 Bytes

Contents

require 'spec_helper'

describe Datagrid::Scaffold do
  subject { Datagrid::Scaffold.new([""]) }

  describe '.paginate_code' do
    it 'should fall through options successfully' do
      subject.paginate_code.should eql('paginate_somehow')
    end
  end

  describe '.pagination_helper_code' do
    it 'should fall through options successfully' do
      subject.pagination_helper_code.should eql('some_pagination_helper(@assets)')
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
datagrid-1.2.0 spec/datagrid/scaffold_spec.rb
datagrid-1.1.2 spec/datagrid/scaffold_spec.rb
datagrid-1.1.1 spec/datagrid/scaffold_spec.rb
datagrid-1.1.0 spec/datagrid/scaffold_spec.rb
datagrid-1.0.5 spec/datagrid/scaffold_spec.rb
datagrid-1.0.4 spec/datagrid/scaffold_spec.rb
datagrid-1.0.3 spec/datagrid/scaffold_spec.rb
datagrid-1.0.2 spec/datagrid/scaffold_spec.rb
datagrid-1.0.1 spec/datagrid/scaffold_spec.rb
datagrid-1.0.0 spec/datagrid/scaffold_spec.rb
datagrid-0.9.3 spec/datagrid/scaffold_spec.rb
datagrid-0.9.2 spec/datagrid/scaffold_spec.rb
datagrid-0.9.0 spec/datagrid/scaffold_spec.rb
datagrid-0.8.4 spec/datagrid/scaffold_spec.rb
datagrid-0.8.3 spec/datagrid/scaffold_spec.rb
datagrid-0.8.2 spec/datagrid/scaffold_spec.rb
datagrid-0.8.1 spec/datagrid/scaffold_spec.rb