9dce1cacb9
Note that it's not possible to replace any call where we encode and pretty print, as JSON doesn't have such functionality.
10 lines
233 B
Elixir
10 lines
233 B
Elixir
defmodule LastFm.Fixtures do
|
|
@fixtures_folder Path.join([File.cwd!(), "test/support/fixtures"])
|
|
|
|
def artist_get_info do
|
|
Path.join([@fixtures_folder, "artist.getinfo.json"])
|
|
|> File.read!()
|
|
|> JSON.decode!()
|
|
end
|
|
end
|