0
0
Fork 0

Update Rails (#8141)

* Update Rails

* fix Update Rails
This commit is contained in:
S.H 2018-08-12 19:25:23 +09:00 committed by Eugen Rochko
parent 110b3f6335
commit 2aeeffc3ec
5 changed files with 50 additions and 54 deletions

View file

@ -53,9 +53,8 @@ RSpec.describe Api::SubscriptionsController, type: :controller do
stub_request(:any, "https://mastodon.social/users/Gargron").to_return(status: 404)
request.env['HTTP_X_HUB_SIGNATURE'] = "sha1=#{OpenSSL::HMAC.hexdigest('sha1', 'abc', feed)}"
request.env['RAW_POST_DATA'] = feed
post :update, params: { id: account.id }
post :update, params: { id: account.id }, body: feed
end
it 'returns http success' do