Skip to content

Commit

Permalink
fix for robocop offenses (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Oct 18, 2018
1 parent d082729 commit e0acbf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pagy/extras/elasticsearch_rails_test.rb
Expand Up @@ -11,8 +11,8 @@ class ElasticsearchRails
class Results
def initialize(params); @params = params; end
def total; 1000; end
def offset(value); self; end
def limit(value); 25; end
def offset(*); self; end
def limit(*); 25; end
def page
@params[:page] || 1
end
Expand Down

0 comments on commit e0acbf6

Please sign in to comment.