spec/slack/web/api/endpoints/pins_spec.rb in slack-ruby-client-0.15.1 vs spec/slack/web/api/endpoints/pins_spec.rb in slack-ruby-client-0.16.0

- old
+ new

@@ -5,13 +5,10 @@ RSpec.describe Slack::Web::Api::Endpoints::Pins do let(:client) { Slack::Web::Client.new } context 'pins_add' do it 'requires channel' do - expect { client.pins_add(timestamp: '1234567890.123456') }.to raise_error ArgumentError, /Required arguments :channel missing/ - end - it 'requires timestamp' do - expect { client.pins_add(channel: 'C1234567890') }.to raise_error ArgumentError, /Required arguments :timestamp missing/ + expect { client.pins_add }.to raise_error ArgumentError, /Required arguments :channel missing/ end end context 'pins_list' do it 'requires channel' do expect { client.pins_list }.to raise_error ArgumentError, /Required arguments :channel missing/