Sha256: b424bd0f5d4417f23808856dbb8c31f48089b69ab0c35daa43815c37f69b9636
Contents?: true
Size: 716 Bytes
Versions: 10
Compression:
Stored size: 716 Bytes
Contents
require File.expand_path("../../spec_helper", __FILE__) module Rews describe Client do it "should create new DistinguishedFolderIds for arbitrary mailboxes" do client = Client.new("https://foo/EWS/Exchange.asmx", :ntlm, "EXCHDOM\\foo", "password") mock(Folder::DistinguishedFolderId).new(client, 'inbox', 'foo@bar.com') client.distinguished_folder_id('inbox', 'foo@bar.com') end it "should create new DistinguishedFolderIds for the default mailbox" do client = Client.new("https://foo/EWS/Exchange.asmx", :ntlm, "EXCHDOM\\foo", "password") mock(Folder::DistinguishedFolderId).new(client, 'inbox', nil) client.distinguished_folder_id('inbox') end end end
Version data entries
10 entries across 10 versions & 1 rubygems