+3
-3
test/aww_test.exs
+3
-3
test/aww_test.exs
···
65
65
end
66
66
67
67
property "custom host contains that host" do
68
-
check all(host <- string(:ascii, min_lenght: 1)) do
68
+
check all(host <- string(:ascii, min_length: 1)) do
69
69
url = @subject.avatar_url("foo@example.com", service_opts: [host: host])
70
70
71
71
assert host == url.host
···
73
73
end
74
74
75
75
property "custom host as URI contains that host" do
76
-
check all(host <- string(:ascii, min_lenght: 1), port <- integer(0..0xFFFF)) do
76
+
check all(host <- string(:ascii, min_length: 1), port <- integer(0..0xFFFF)) do
77
77
uri = %URI{
78
78
host: host,
79
79
port: port
···
104
104
port <- integer(0..0xFFFF),
105
105
segment = string(:alphanumeric, min_length: 1),
106
106
path <- list_of(segment),
107
-
user <- string(:alphanumeric, min_lenght: 1),
107
+
user <- string(:alphanumeric, min_length: 1),
108
108
pass <- string(:alphanumeric, min_length: 1)
109
109
) do
110
110
%URI{