Upgrade to Rails 5.0.0.1
This commit is contained in:
parent
ff2cbc0753
commit
10ba09f546
47 changed files with 398 additions and 291 deletions
|
@ -5,7 +5,7 @@ RSpec.describe Api::SubscriptionsController, type: :controller do
|
|||
|
||||
describe 'GET #show' do
|
||||
before do
|
||||
get :show, :id => account.id, 'hub.topic' => 'topic_url', 'hub.verify_token' => 123, 'hub.challenge' => '456'
|
||||
get :show, params: { :id => account.id, 'hub.topic' => 'topic_url', 'hub.verify_token' => 123, 'hub.challenge' => '456' }
|
||||
end
|
||||
|
||||
it 'returns http success' do
|
||||
|
@ -26,7 +26,7 @@ RSpec.describe Api::SubscriptionsController, type: :controller do
|
|||
request.env['HTTP_X_HUB_SIGNATURE'] = "sha1=#{OpenSSL::HMAC.hexdigest('sha1', 'abc', feed)}"
|
||||
request.env['RAW_POST_DATA'] = feed
|
||||
|
||||
post :update, id: account.id
|
||||
post :update, params: { id: account.id }
|
||||
end
|
||||
|
||||
it 'returns http created' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue