Fix randomly failing spec.

This commit is contained in:
Guo Xiang Tan 2017-10-02 11:24:48 +08:00
parent 049d925213
commit b295a39977
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ describe UploadsController do
for_private_message: "true",
format: :json
}
end.first
end.find { |m| m.channel = '/uploads/composer' }
expect(response).to be_success
expect(message.data["id"]).to be