Fix broken spec

Change-Id: I95d674893c8bd7a749a5e3aa182a10de3d697fee
Reviewed-on: https://gerrit.instructure.com/109115
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
Tested-by: Jenkins
This commit is contained in:
Andrew Butterfield 2017-04-19 13:07:30 -06:00 committed by Jon Jensen
parent 3ef932cf9a
commit 2f2a8cd55e
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ module Services
describe '.destroy_all_tool_proxy_subscriptions' do
it 'makes the expected request' do
tool_proxy.stubs(:context).returns(root_account_context)
root_account_context.stubs(:root_account).returns(root_account_object)
HTTParty.expects(:send).with do |method, endpoint, options|
expect(method).to eq(:delete)
expect(endpoint).to eq('http://example.com/api/subscriptions')