Sha256: 48527106db92c35261e99be332813aca571b9d5bb607e25abd65b8d47e3d71ce
Contents?: true
Size: 426 Bytes
Versions: 9
Compression:
Stored size: 426 Bytes
Contents
require 'spec_helper' describe MobilePagination do describe 'Configuration' do it 'page_key config defaults to page' do config = described_class.configuration expect(config.page_key).to eq('page') end it 'sets configuration options' do MobilePagination.configure { |config| config.page_key = 'slide' } expect(described_class.configuration.page_key).to eq('slide') end end end
Version data entries
9 entries across 9 versions & 1 rubygems