spec/slack/web/api/endpoints/apps_permissions_spec.rb in slack-ruby-client-0.14.5 vs spec/slack/web/api/endpoints/apps_permissions_spec.rb in slack-ruby-client-0.14.6

- old
+ new

@@ -5,12 +5,12 @@ RSpec.describe Slack::Web::Api::Endpoints::AppsPermissions do let(:client) { Slack::Web::Client.new } context 'apps.permissions_request' do it 'requires scopes' do - expect { client.apps_permissions_request(trigger_id: ' ') }.to raise_error ArgumentError, /Required arguments :scopes missing/ + expect { client.apps_permissions_request(trigger_id: '') }.to raise_error ArgumentError, /Required arguments :scopes missing/ end it 'requires trigger_id' do - expect { client.apps_permissions_request(scopes: ' ') }.to raise_error ArgumentError, /Required arguments :trigger_id missing/ + expect { client.apps_permissions_request(scopes: '') }.to raise_error ArgumentError, /Required arguments :trigger_id missing/ end end end