Navigation Menu

Skip to content

Commit

Permalink
test: stop to use needless variable length arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 26, 2017
1 parent c77438a commit 6d1b3a7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/request/test-select.rb
Expand Up @@ -93,8 +93,12 @@ def filter(*args)
end

sub_test_case("#between") do
def between(column_name, *values)
@request.filter.between(column_name, *values).to_parameters
def between(column_name,
min, min_border,
max, max_border)
@request.filter.between(column_name,
min, min_border,
max, max_border).to_parameters
end

test("column_name_include") do
Expand Down

0 comments on commit 6d1b3a7

Please sign in to comment.