Switch to sqlite (#22)
* Updated project to use sqlite * Edited migrations directly because I fear no man * Updated search functions and tests to work with sqlite * Updated build tools to remove postgres
This commit is contained in:
1 parent
53bd8681c3
commit
b81c8d64b3
29 files changed
+121
-186
No files matched your search
@@ -212,6 +212,14 @@ defmodule Pinchflat.MediaTest do
|
||||
|
||||
assert [_] = Media.search("dog", limit: 1)
|
||||
end
|
||||
|
||||
test "returns an empty list when the search term is blank" do
|
||||
assert [] = Media.search("")
|
||||
end
|
||||
|
||||
test "returns an empty list when the search term is nil" do
|
||||
assert [] = Media.search(nil)
|
||||
end
|
||||
end
|
||||
|
||||
describe "get_media_item!/1" do
|
||||
|
||||
Reference in new issue
Block a user