Navigation Menu

Skip to content

Commit

Permalink
test: don't use the default value in test
Browse files Browse the repository at this point in the history
We can't test the default value in implementation with it.
  • Loading branch information
kou committed Apr 27, 2017
1 parent dedc363 commit 989371f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/request/select/test-filter.rb
Expand Up @@ -213,12 +213,9 @@ def test_empty_string

sub_test_case("Filter") do
sub_test_case("#geo_in_circle") do
def geo_in_circle(point,
center, radious_or_point,
approximate_type="rectangle")
@request.filter.geo_in_circle(point,
center, radious_or_point,
approximate_type).to_parameters
def geo_in_circle(*args)
@request.filter.geo_in_circle(*args).to_parameters
end

test("column") do
assert_equal({
Expand Down

0 comments on commit 989371f

Please sign in to comment.