Sha256: 62d5c0d00d4465c5b9d5d6d57297ff1330a8f58023eeffabe3c35bab7c4c4bd2
Contents?: true
Size: 501 Bytes
Versions: 3
Compression:
Stored size: 501 Bytes
Contents
require 'test_helper' module PaginatedTable describe "configuration" do let(:configuration) { PaginatedTable.configuration } after do PaginatedTable.set_default_configuration end it "should have default rows_per_page" do configuration.rows_per_page.must_equal 10 end it "should let us set rows_per_page" do PaginatedTable.configure do |config| config.rows_per_page = 20 end configuration.rows_per_page.must_equal 20 end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
paginated_table-0.0.9 | test/units/config_test.rb |
paginated_table-0.0.8 | test/units/config_test.rb |
paginated_table-0.0.7 | test/units/config_test.rb |