spec/spec_helper.rb in grape-pagy-0.4.0 vs spec/spec_helper.rb in grape-pagy-0.5.0

- old
+ new

@@ -2,11 +2,11 @@ require 'rspec' require 'grape/pagy' require 'rack/test' -Pagy::VARS[:items] = 10 -Pagy::VARS[:max_items] = 20 +Pagy::DEFAULT[:items] = 10 +Pagy::DEFAULT[:max_items] = 20 class TestArray < Array def limit(num) self.class.new slice(0, num) end