Skip to content

Commit

Permalink
Remove duplicate test from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
drewolson committed Mar 2, 2017
1 parent 549e466 commit 2f1340b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/scrivener/paginator/ecto/query_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,6 @@ defmodule Scrivener.Paginator.Ecto.QueryTest do
assert page.total_entries == 7
end

test "it handles complex order_by" do
create_posts()

page =
Post
|> select([p], fragment("? as aliased_title", p.title))
|> order_by([p], fragment("aliased_title"))
|> Scrivener.Ecto.Repo.paginate

assert page.total_entries == 7
end

test "can be provided the current page and page size as a params map" do
posts = create_posts()

Expand Down

0 comments on commit 2f1340b

Please sign in to comment.