diff --git a/test/salad_ui/pagination_test.exs b/test/salad_ui/pagination_test.exs new file mode 100644 index 0000000..99ee3a4 --- /dev/null +++ b/test/salad_ui/pagination_test.exs @@ -0,0 +1,132 @@ +defmodule SaladUi.PaginationTest do + use ComponentCase + + import SaladUI.Pagination + + describe "Test Pagination:" do + test "It renders pagination_content correctly" do + assigns = %{} + + html = + ~H""" + <.pagination_content>Content goes here + """ + |> rendered_to_string() + |> clean_string() + + assert html =~ "