Sha256: ff3f2a3e3f1dbcf75b7945edbac615026ae7faf3a38f72f02c294061547d6887
Contents?: true
Size: 712 Bytes
Versions: 6
Compression:
Stored size: 712 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') require File.dirname(__FILE__) + '/../lib/gdata_jruby_client' include GoogleHelpers describe GData::Entry do it "should able to initialize a new entry without attributes" do entry = GData::CalendarEventEntry.new entry.title = 'New Title'.to_plain_text entry.title.plain_text.should == 'New Title' end it "should able to initialize a new entry with attributes" do entry = GData::CalendarEventEntry.new({ :title => 'New Title'.to_plain_text, :content => 'New Content'.to_plain_text }) entry.title.plain_text.should == 'New Title' entry.content.plain_text.should == 'New Content' end end
Version data entries
6 entries across 6 versions & 1 rubygems