forked from AkkomaGang/akkoma
fix specs.
This commit is contained in:
parent
6c3a0ffae4
commit
4b03c43fd7
1 changed files with 6 additions and 2 deletions
|
@ -50,7 +50,9 @@ test "A user" do
|
|||
"profile_image_url_original" => image,
|
||||
"following" => false,
|
||||
"rights" => %{},
|
||||
"statusnet_profile_url" => user.ap_id
|
||||
"statusnet_profile_url" => user.ap_id,
|
||||
"cover_photo" => nil,
|
||||
"background_image" => nil
|
||||
}
|
||||
|
||||
assert represented == UserView.render("show.json", %{user: user})
|
||||
|
@ -76,7 +78,9 @@ test "A user for a given other follower", %{user: user} do
|
|||
"profile_image_url_original" => image,
|
||||
"following" => true,
|
||||
"rights" => %{},
|
||||
"statusnet_profile_url" => user.ap_id
|
||||
"statusnet_profile_url" => user.ap_id,
|
||||
"cover_photo" => nil,
|
||||
"background_image" => nil
|
||||
}
|
||||
|
||||
assert represented == UserView.render("show.json", %{user: user, for: follower})
|
||||
|
|
Loading…
Reference in a new issue