Skip to content

Commit

Permalink
fix credo
Browse files Browse the repository at this point in the history
  • Loading branch information
electronicbites committed Dec 16, 2023
1 parent 0ddee6d commit 2c28520
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/radiator/podcast.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule Radiator.Podcast do
import Ecto.Query, warn: false
alias Radiator.Repo

alias Radiator.Podcast.{ Episode, Network, Show}
alias Radiator.Podcast.{Episode, Network, Show}

@doc """
Returns the list of networks.
Expand Down
5 changes: 1 addition & 4 deletions test/radiator/podcast_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ defmodule Radiator.PodcastTest do
import Radiator.PodcastFixtures

alias Radiator.Podcast
alias Radiator.Podcast.{ Episode, Network, Show}

alias Radiator.Podcast.{Episode, Network, Show}

describe "networks" do
@invalid_attrs %{title: nil}
Expand Down Expand Up @@ -58,7 +57,6 @@ defmodule Radiator.PodcastTest do
end

describe "shows" do

@invalid_attrs %{title: nil, hostname: nil}

test "list_shows/0 returns all shows" do
Expand Down Expand Up @@ -113,7 +111,6 @@ defmodule Radiator.PodcastTest do
end

describe "episodes" do

@invalid_attrs %{title: nil}

test "list_episodes/0 returns all episodes" do
Expand Down

0 comments on commit 2c28520

Please sign in to comment.