From ae6b5461e16e2afe4302937c8e94ae91b0abbb21 Mon Sep 17 00:00:00 2001 From: Frank Dugan III Date: Sat, 8 May 2021 21:03:06 -0500 Subject: [PATCH] refactor: remove references to "side loading" --- test/{side_load_test.exs => load_test.exs} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename test/{side_load_test.exs => load_test.exs} (93%) diff --git a/test/side_load_test.exs b/test/load_test.exs similarity index 93% rename from test/side_load_test.exs rename to test/load_test.exs index 677fe758..1eb0608b 100644 --- a/test/side_load_test.exs +++ b/test/load_test.exs @@ -1,4 +1,4 @@ -defmodule AshPostgres.Test.SideLoadTest do +defmodule AshPostgres.Test.LoadTest do use AshPostgres.RepoCase, async: false alias AshPostgres.Test.{Api, Comment, Post} @@ -44,7 +44,7 @@ defmodule AshPostgres.Test.SideLoadTest do assert [%Comment{post: %{title: "match"}}] = results end - test "many_to_many side loads work" do + test "many_to_many loads work" do source_post = Post |> Ash.Changeset.new(%{title: "source"}) @@ -67,8 +67,8 @@ defmodule AshPostgres.Test.SideLoadTest do assert %{linked_posts: [%{title: "destination"}]} = results end - describe "lateral join side loads" do - test "lateral join side loads (loads with limits or offsets) are supported" do + describe "lateral join loads" do + test "lateral join loads (loads with limits or offsets) are supported" do assert %Post{comments: %Ash.NotLoaded{type: :relationship}} = post = Post @@ -122,7 +122,7 @@ defmodule AshPostgres.Test.SideLoadTest do assert [%Post{comments: [%{title: "def"}, %{title: "abc"}]}] = results end - test "lateral join side loads with many to many relationships are supported" do + test "lateral join loads with many to many relationships are supported" do source_post = Post |> Ash.Changeset.new(%{title: "source"})