-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adapt seeds after connecting nodes to episodes
- Loading branch information
1 parent
72a2696
commit c678a14
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,12 +10,6 @@ alias Radiator.{Accounts, Outline, Podcast} | |
{:ok, _user_jim} = | ||
Accounts.register_user(%{email: "[email protected]", password: "supersupersecret"}) | ||
|
||
{:ok, _node} = | ||
Outline.create_node(%{content: "This is my first node"}) | ||
|
||
{:ok, _node} = | ||
Outline.create_node(%{content: "Second node"}) | ||
|
||
{:ok, network} = | ||
Podcast.create_network(%{title: "Podcast network"}) | ||
|
||
|
@@ -28,5 +22,11 @@ alias Radiator.{Accounts, Outline, Podcast} | |
{:ok, _episode} = | ||
Podcast.create_episode(%{title: "past episode", show_id: show.id}) | ||
|
||
{:ok, _episode} = | ||
{:ok, current_episode} = | ||
Podcast.create_episode(%{title: "current episode", show_id: show.id}) | ||
|
||
{:ok, _node} = | ||
Outline.create_node(%{content: "This is my first node", episode_id: current_episode.id}) | ||
|
||
{:ok, _node} = | ||
Outline.create_node(%{content: "Second node", episode_id: current_episode.id}) |