spec/slack/web/api/endpoints/users_spec.rb in slack-ruby-client-0.5.3 vs spec/slack/web/api/endpoints/users_spec.rb in slack-ruby-client-0.5.4
- old
+ new
@@ -7,7 +7,11 @@
json = client.users_list(presence: true)
expect(json['ok']).to be true
expect(json['members'].size).to eq 9
expect(json['members'].first['presence']).to eq 'away'
end
+ it 'info', vcr: { cassette_name: 'web/users_info' } do
+ json = client.users_info(user: '@aws')
+ expect(json['user']['name']).to eq 'aws'
+ end
end
end