Sha256: 7479f329b82fb8fc65c66e13903a19e66bb60430a8b8fa1fbb2318b7d0d974ae
Contents?: true
Size: 640 Bytes
Versions: 16
Compression:
Stored size: 640 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Zoom::Actions::Roles do let(:zc) { zoom_client } describe '#roles_list action' do before :each do stub_request( :get, zoom_url('/roles') ).to_return(body: json_response('roles', 'list'), headers: { 'Content-Type' => 'application/json' }) end it 'returns a hash' do expect(zc.roles_list).to be_kind_of(Hash) end it "returns 'total_records'" do expect(zc.roles_list['total_records']).to eq(4) end it "returns 'roles' Array" do expect(zc.roles_list['roles']).to be_kind_of(Array) end end end
Version data entries
16 entries across 16 versions & 1 rubygems