spec/slack/web/api/endpoints/admin_apps_spec.rb in slack-ruby-client-0.15.1 vs spec/slack/web/api/endpoints/admin_apps_spec.rb in slack-ruby-client-0.16.0
- old
+ new
@@ -3,6 +3,11 @@
require 'spec_helper'
RSpec.describe Slack::Web::Api::Endpoints::AdminApps do
let(:client) { Slack::Web::Client.new }
+ context 'admin.apps_clearResolution' do
+ it 'requires app_id' do
+ expect { client.admin_apps_clearResolution }.to raise_error ArgumentError, /Required arguments :app_id missing/
+ end
+ end
end