azalea v0.0.1 Azalea.Tool.TestCase

Test method with Azalea

Summary

Functions

Make a test EctoType file without go through all the upload workflow. Just to make the test go easy. Ecto.Changeset.cast %Site.User{}, %{photo: Azalea.Tool.TestCase.make_file(:jpg, :remote)}, [:photo]

Functions

make_file(type, key \\ :main)

Make a test EctoType file without go through all the upload workflow. Just to make the test go easy. Ecto.Changeset.cast %Site.User{}, %{photo: Azalea.Tool.TestCase.make_file(:jpg, :remote)}, [:photo]