Created
April 8, 2011 14:15
-
-
Save retorquere/909918 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/spec/calendar_item_spec.rb b/test/spec/calendar_item_spec.rb | |
index e4263d1..8f296af 100644 | |
--- a/test/spec/calendar_item_spec.rb | |
+++ b/test/spec/calendar_item_spec.rb | |
@@ -61,6 +61,15 @@ describe Viewpoint::EWS::CalendarItem, "functionality testing" do | |
@citem.remove_attendees!([@citem.required_attendees.first]).should be_true | |
end | |
+ it 'should add tags to the meeting' do | |
+ @citem.set_tags!(['tag1', 'tag2'], :tagspace => 'custom_tagspace') | |
+ end | |
+ | |
+ it 'should find the meeting by tag' do | |
+ i = @cal.find_items_with_tag 'tag1', :tagspace => 'custom_tagspace' | |
+ i.tags.include?('tag2').should be_true | |
+ end | |
+ | |
after(:all) do | |
@citem.recycle! | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment